public final class TransportIdSystem extends java.lang.Object implements TransactionalIdSystem
| Constructor and Description |
|---|
TransportIdSystem(LocalObjectContainer localObjectContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulateFreeSlots(FreespaceCommitter freespaceCommitter,
boolean forFreespace) |
void |
clear() |
void |
close() |
void |
collectCallBackInfo(CallbackInfoCollector collector) |
void |
commit(FreespaceCommitter accumulator) |
Slot |
committedSlot(int id) |
Slot |
currentSlot(int id) |
boolean |
isDeleted(int id) |
boolean |
isDirty() |
int |
newId(SlotChangeFactory slotChangeFactory) |
void |
notifySlotCreated(int id,
Slot slot,
SlotChangeFactory slotChangeFactory) |
void |
notifySlotDeleted(int id,
SlotChangeFactory slotChangeFactory) |
void |
notifySlotUpdated(int id,
Slot slot,
SlotChangeFactory slotChangeFactory) |
void |
prefetchedIDConsumed(int id) |
int |
prefetchID() |
void |
rollback() |
public TransportIdSystem(LocalObjectContainer localObjectContainer)
public int newId(SlotChangeFactory slotChangeFactory)
newId in interface TransactionalIdSystempublic void notifySlotCreated(int id,
Slot slot,
SlotChangeFactory slotChangeFactory)
notifySlotCreated in interface TransactionalIdSystempublic void notifySlotUpdated(int id,
Slot slot,
SlotChangeFactory slotChangeFactory)
notifySlotUpdated in interface TransactionalIdSystempublic void notifySlotDeleted(int id,
SlotChangeFactory slotChangeFactory)
notifySlotDeleted in interface TransactionalIdSystempublic void commit(FreespaceCommitter accumulator)
commit in interface TransactionalIdSystempublic Slot currentSlot(int id)
currentSlot in interface TransactionalIdSystempublic void collectCallBackInfo(CallbackInfoCollector collector)
collectCallBackInfo in interface TransactionalIdSystempublic void clear()
clear in interface TransactionalIdSystempublic Slot committedSlot(int id)
committedSlot in interface TransactionalIdSystempublic boolean isDeleted(int id)
isDeleted in interface TransactionalIdSystempublic boolean isDirty()
isDirty in interface TransactionalIdSystempublic int prefetchID()
prefetchID in interface TransactionalIdSystempublic void prefetchedIDConsumed(int id)
prefetchedIDConsumed in interface TransactionalIdSystempublic void rollback()
rollback in interface TransactionalIdSystempublic void close()
close in interface TransactionalIdSystempublic void accumulateFreeSlots(FreespaceCommitter freespaceCommitter, boolean forFreespace)
accumulateFreeSlots in interface TransactionalIdSystem