public class BTreeIdSystem extends java.lang.Object implements StackableIdSystem
| Modifier and Type | Class and Description |
|---|---|
static class |
BTreeIdSystem.IdSlotMappingHandler |
| Constructor and Description |
|---|
BTreeIdSystem(LocalObjectContainer container,
StackableIdSystem idSystem) |
BTreeIdSystem(LocalObjectContainer container,
StackableIdSystem parentIdSystem,
int maxValidId) |
| Modifier and Type | Method and Description |
|---|---|
int |
childId() |
void |
childId(int id) |
void |
close() |
void |
commit(Visitable<SlotChange> slotChanges,
FreespaceCommitter freespaceCommitter) |
Slot |
committedSlot(int id) |
void |
completeInterruptedTransaction(int transactionId1,
int transactionId2) |
TransactionalIdSystem |
freespaceIdSystem() |
int |
newId() |
void |
returnUnusedIds(Visitable<java.lang.Integer> visitable) |
void |
traverseIds(Visitor4<IdSlotMapping> visitor) |
void |
traverseOwnSlots(Procedure4<Pair<java.lang.Integer,Slot>> block) |
public BTreeIdSystem(LocalObjectContainer container, StackableIdSystem parentIdSystem, int maxValidId)
public BTreeIdSystem(LocalObjectContainer container, StackableIdSystem idSystem)
public Slot committedSlot(int id)
committedSlot in interface IdSystempublic void completeInterruptedTransaction(int transactionId1,
int transactionId2)
completeInterruptedTransaction in interface IdSystempublic void commit(Visitable<SlotChange> slotChanges, FreespaceCommitter freespaceCommitter)
public void returnUnusedIds(Visitable<java.lang.Integer> visitable)
returnUnusedIds in interface IdSystempublic TransactionalIdSystem freespaceIdSystem()
public int childId()
childId in interface StackableIdSystempublic void childId(int id)
childId in interface StackableIdSystempublic void traverseIds(Visitor4<IdSlotMapping> visitor)
public void traverseOwnSlots(Procedure4<Pair<java.lang.Integer,Slot>> block)
traverseOwnSlots in interface IdSystem