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 voidaccumulateFreeSlots(FreespaceCommitter freespaceCommitter, boolean forFreespace)voidclear()voidclose()voidcollectCallBackInfo(CallbackInfoCollector collector)voidcommit(FreespaceCommitter freespaceCommitter)SlotcommittedSlot(int id)SlotcurrentSlot(int id)booleanisDeleted(int id)booleanisDirty()intnewId(SlotChangeFactory slotChangeFactory)voidnotifySlotCreated(int id, Slot slot, SlotChangeFactory slotChangeFactory)voidnotifySlotDeleted(int id, SlotChangeFactory slotChangeFactory)voidnotifySlotUpdated(int id, Slot slot, SlotChangeFactory slotChangeFactory)voidprefetchedIDConsumed(int id)intprefetchID()voidrollback()
-
-
-
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()
-
-