Package com.db4o.internal.ids
Class IdSlotChanges
- java.lang.Object
-
- com.db4o.internal.ids.IdSlotChanges
-
public class IdSlotChanges extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description IdSlotChanges(TransactionalIdSystemImpl idSystem, Closure4<FreespaceManager> freespaceManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accumulateFreeSlots(FreespaceCommitter freespaceCommitter, boolean forFreespace, boolean traverseMutable)
void
addPrefetchedID(int id)
void
clear()
SlotChange
findSlotChange(int id)
boolean
isDeleted(int id)
boolean
isDirty()
void
notifySlotCreated(int id, Slot slot, SlotChangeFactory slotChangeFactory)
void
notifySlotDeleted(int id, SlotChangeFactory slotChangeFactory)
void
prefetchedIDConsumed(int id)
SlotChange
produceSlotChange(int id, SlotChangeFactory slotChangeFactory)
void
readSlotChanges(ByteArrayBuffer buffer)
void
rollback()
void
traverseSlotChanges(Visitor4<SlotChange> visitor)
-
-
-
Constructor Detail
-
IdSlotChanges
public IdSlotChanges(TransactionalIdSystemImpl idSystem, Closure4<FreespaceManager> freespaceManager)
-
-
Method Detail
-
accumulateFreeSlots
public final void accumulateFreeSlots(FreespaceCommitter freespaceCommitter, boolean forFreespace, boolean traverseMutable)
-
clear
public void clear()
-
rollback
public void rollback()
-
isDeleted
public boolean isDeleted(int id)
-
produceSlotChange
public SlotChange produceSlotChange(int id, SlotChangeFactory slotChangeFactory)
-
findSlotChange
public final SlotChange findSlotChange(int id)
-
traverseSlotChanges
public void traverseSlotChanges(Visitor4<SlotChange> visitor)
-
isDirty
public boolean isDirty()
-
readSlotChanges
public void readSlotChanges(ByteArrayBuffer buffer)
-
addPrefetchedID
public void addPrefetchedID(int id)
-
prefetchedIDConsumed
public void prefetchedIDConsumed(int id)
-
notifySlotCreated
public void notifySlotCreated(int id, Slot slot, SlotChangeFactory slotChangeFactory)
-
notifySlotDeleted
public void notifySlotDeleted(int id, SlotChangeFactory slotChangeFactory)
-
-