|
db4o 6.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.db4o.defragment.AbstractContextIDMapping
com.db4o.defragment.TreeIDMapping
public class TreeIDMapping
In-memory mapping for IDs during a defragmentation run.
Defragment
Constructor Summary | |
---|---|
TreeIDMapping()
|
Method Summary | |
---|---|
void |
close()
Shuts down the mapping after use. |
int |
mappedID(int oldID,
boolean lenient)
Returns a previously registered mapping ID for the given ID if it exists. |
void |
open()
Prepares the mapping for use. |
Methods inherited from class com.db4o.defragment.AbstractContextIDMapping |
---|
mapIDs |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TreeIDMapping()
Method Detail |
---|
public int mappedID(int oldID, boolean lenient)
ContextIDMapping
oldID
- The original IDlenient
- If true, lenient mode will be used for lookup, strict mode otherwise.
public void open()
ContextIDMapping
public void close()
ContextIDMapping
|
db4o 6.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |