Package com.db4o.internal.ids
Interface TransactionalIdSystem
-
- All Known Implementing Classes:
TransactionalIdSystemImpl
,TransportIdSystem
public interface TransactionalIdSystem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accumulateFreeSlots(FreespaceCommitter freespaceCommitter, boolean forFreespace)
void
clear()
void
close()
void
collectCallBackInfo(CallbackInfoCollector collector)
void
commit(FreespaceCommitter freespaceCommitter)
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()
-
-
-
Method Detail
-
collectCallBackInfo
void collectCallBackInfo(CallbackInfoCollector collector)
-
isDirty
boolean isDirty()
-
commit
void commit(FreespaceCommitter freespaceCommitter)
-
committedSlot
Slot committedSlot(int id)
-
currentSlot
Slot currentSlot(int id)
-
accumulateFreeSlots
void accumulateFreeSlots(FreespaceCommitter freespaceCommitter, boolean forFreespace)
-
rollback
void rollback()
-
clear
void clear()
-
isDeleted
boolean isDeleted(int id)
-
notifySlotUpdated
void notifySlotUpdated(int id, Slot slot, SlotChangeFactory slotChangeFactory)
-
notifySlotCreated
void notifySlotCreated(int id, Slot slot, SlotChangeFactory slotChangeFactory)
-
notifySlotDeleted
void notifySlotDeleted(int id, SlotChangeFactory slotChangeFactory)
-
newId
int newId(SlotChangeFactory slotChangeFactory)
-
prefetchID
int prefetchID()
-
prefetchedIDConsumed
void prefetchedIDConsumed(int id)
-
close
void close()
-
-