|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.recovery.DirtyINMap
class DirtyINMap
Map of Integer->Set level->Set of checkpoint references
Constructor Summary | |
---|---|
DirtyINMap(EnvironmentImpl envImpl)
|
Method Summary | |
---|---|
(package private) void |
addCostToMemoryBudget()
|
(package private) void |
addDirtyIN(IN in,
boolean updateMemoryBudget)
Add a node to the dirty map. |
(package private) int |
getHighestLevel()
|
(package private) java.lang.Integer |
getLowestLevelSet()
Get the lowest level currently stored in the map. |
(package private) int |
getNumLevels()
|
(package private) java.util.Set |
getSet(java.lang.Integer level)
Get the set corresponding to this level. |
(package private) void |
removeCostFromMemoryBudget()
|
(package private) void |
removeSet(java.lang.Integer level)
Get the set corresponding to this level. |
(package private) void |
selectDirtyINsForCheckpoint(java.util.Set mustSyncSet)
Scan the INList for all dirty INs, excluding deferred write INs that are not in the must-sync set. |
(package private) void |
selectDirtyINsForDb(DatabaseImpl dbImpl)
Scan the INList for all dirty INs for a given database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
DirtyINMap(EnvironmentImpl envImpl)
Method Detail |
---|
void selectDirtyINsForCheckpoint(java.util.Set mustSyncSet) throws DatabaseException
DatabaseException
void selectDirtyINsForDb(DatabaseImpl dbImpl) throws DatabaseException
DatabaseException
int getNumLevels()
int getHighestLevel()
void addCostToMemoryBudget()
void removeCostFromMemoryBudget()
void addDirtyIN(IN in, boolean updateMemoryBudget)
java.lang.Integer getLowestLevelSet()
java.util.Set getSet(java.lang.Integer level)
void removeSet(java.lang.Integer level)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |