| com.db4o.defragment.ContextIDMapping
All known Subclasses: com.db4o.defragment.AbstractContextIDMapping,
ContextIDMapping | public interface ContextIDMapping (Code) | | The ID mapping used internally during a defragmentation run.
See Also: Defragment |
Method Summary | |
void | close() Shuts down the mapping after use. | void | mapIDs(int origID, int mappedID, boolean isClassID) Registers a mapping for the given IDs. | int | mappedID(int origID, boolean lenient) Returns a previously registered mapping ID for the given ID if it exists.
If lenient mode is set to true, will provide the mapping ID for the next
smaller original ID a mapping exists for. | void | open() Prepares the mapping for use. |
close | void close()(Code) | | Shuts down the mapping after use.
|
mapIDs | void mapIDs(int origID, int mappedID, boolean isClassID)(Code) | | Registers a mapping for the given IDs.
Parameters: origID - The original ID Parameters: mappedID - The ID to be mapped to the original ID. Parameters: isClassID - true if the given original ID specifies a class slot, false otherwise. |
mappedID | int mappedID(int origID, boolean lenient)(Code) | | Returns a previously registered mapping ID for the given ID if it exists.
If lenient mode is set to true, will provide the mapping ID for the next
smaller original ID a mapping exists for. Otherwise returns 0.
Parameters: origID - The original ID Parameters: lenient - If true, lenient mode will be used for lookup, strict mode otherwise. The mapping ID for the given original ID or 0, if none has been registered. |
open | void open()(Code) | | Prepares the mapping for use.
|
|
|