|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.dbi.INList
The INList is a list of in-memory INs for a given environment.
Constructor Summary | |
(package private) |
INList(EnvironmentImpl envImpl)
|
|
INList(INList orig,
EnvironmentImpl envImpl)
Used only by tree verifier when validating INList. |
Method Summary | |
void |
add(IN in)
An IN has just come into memory, add it to the list. |
void |
clear()
Clear the entire list at shutdown. |
(package private) void |
clearDb(DatabaseImpl dbImpl)
Lower the generation of any IN's belonging to this deleted database so they evict quickly. |
boolean |
contains(IN in)
Use with caution: expects major latch to be held |
void |
dump()
|
IN |
first()
|
SortedSet |
getINs()
|
int |
getSize()
|
Iterator |
iterator()
Return an iterator over the main 'ins' set. |
void |
latchMajor()
|
void |
releaseMajorLatch()
|
void |
releaseMajorLatchIfHeld()
|
void |
remove(IN in)
An IN is getting swept or is displaced by recovery. |
void |
removeLatchAlreadyHeld(IN in)
An IN is getting swept or is displaced by recovery. |
SortedSet |
tailSet(IN in)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
INList(EnvironmentImpl envImpl)
public INList(INList orig, EnvironmentImpl envImpl) throws DatabaseException
Method Detail |
public SortedSet getINs()
public int getSize()
public void add(IN in) throws DatabaseException
DatabaseException
public void removeLatchAlreadyHeld(IN in) throws DatabaseException
DatabaseException
public void remove(IN in) throws DatabaseException
DatabaseException
public SortedSet tailSet(IN in) throws DatabaseException
DatabaseException
public IN first() throws DatabaseException
DatabaseException
public Iterator iterator()
public boolean contains(IN in) throws DatabaseException
DatabaseException
public void clear() throws DatabaseException
DatabaseException
public void dump()
public void latchMajor() throws DatabaseException
DatabaseException
public void releaseMajorLatchIfHeld() throws DatabaseException
DatabaseException
public void releaseMajorLatch() throws DatabaseException
DatabaseException
void clearDb(DatabaseImpl dbImpl) throws DatabaseException
DatabaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |