Package com.db4o.internal.ids
Class PointerBasedIdSystem
- java.lang.Object
-
- com.db4o.internal.ids.PointerBasedIdSystem
-
-
Constructor Summary
Constructors Constructor Description PointerBasedIdSystem(LocalObjectContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
commit(Visitable<SlotChange> slotChanges, FreespaceCommitter freespaceCommitter)
Slot
committedSlot(int id)
void
completeInterruptedTransaction(int transactionId1, int transactionId2)
int
newId()
void
returnUnusedIds(Visitable<java.lang.Integer> visitable)
void
traverseOwnSlots(Procedure4<Pair<java.lang.Integer,Slot>> block)
-
-
-
Constructor Detail
-
PointerBasedIdSystem
public PointerBasedIdSystem(LocalObjectContainer container)
-
-
Method Detail
-
committedSlot
public final Slot committedSlot(int id)
- Specified by:
committedSlot
in interfaceIdSystem
-
commit
public void commit(Visitable<SlotChange> slotChanges, FreespaceCommitter freespaceCommitter)
-
returnUnusedIds
public void returnUnusedIds(Visitable<java.lang.Integer> visitable)
- Specified by:
returnUnusedIds
in interfaceIdSystem
-
completeInterruptedTransaction
public void completeInterruptedTransaction(int transactionId1, int transactionId2)
- Specified by:
completeInterruptedTransaction
in interfaceIdSystem
-
traverseOwnSlots
public void traverseOwnSlots(Procedure4<Pair<java.lang.Integer,Slot>> block)
- Specified by:
traverseOwnSlots
in interfaceIdSystem
-
-