public class InMemoryIdSystem extends java.lang.Object implements StackableIdSystem
| Constructor and Description |
|---|
InMemoryIdSystem(LocalObjectContainer container) |
InMemoryIdSystem(LocalObjectContainer container,
int maxValidId)
for testing purposes only.
|
| 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 address,
int length) |
int |
newId() |
void |
returnUnusedIds(Visitable<java.lang.Integer> visitable) |
void |
traverseOwnSlots(Procedure4<Pair<java.lang.Integer,Slot>> block) |
public InMemoryIdSystem(LocalObjectContainer container, int maxValidId)
public InMemoryIdSystem(LocalObjectContainer container)
public void commit(Visitable<SlotChange> slotChanges, FreespaceCommitter freespaceCommitter)
public Slot committedSlot(int id)
committedSlot in interface IdSystempublic void completeInterruptedTransaction(int address,
int length)
completeInterruptedTransaction in interface IdSystempublic void returnUnusedIds(Visitable<java.lang.Integer> visitable)
returnUnusedIds in interface IdSystempublic int childId()
childId in interface StackableIdSystempublic void childId(int id)
childId in interface StackableIdSystempublic void traverseOwnSlots(Procedure4<Pair<java.lang.Integer,Slot>> block)
traverseOwnSlots in interface IdSystem