Package com.db4o.internal.slots
Class IdSystemSlotChange
- java.lang.Object
-
- com.db4o.foundation.Tree<java.lang.Integer>
-
- com.db4o.internal.TreeInt
-
- com.db4o.internal.slots.SlotChange
-
- com.db4o.internal.slots.SystemSlotChange
-
- com.db4o.internal.slots.IdSystemSlotChange
-
- All Implemented Interfaces:
DeepClone
,ShallowClone
,Visitable<java.lang.Integer>
,Readable
,ReadWriteable
- Direct Known Subclasses:
FreespaceSlotChange
public class IdSystemSlotChange extends SystemSlotChange
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.slots.SlotChange
_newSlot
-
Fields inherited from class com.db4o.foundation.Tree
_preceding, _size, _subsequent
-
-
Constructor Summary
Constructors Constructor Description IdSystemSlotChange(int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accumulateFreeSlot(TransactionalIdSystemImpl idSystem, FreespaceCommitter freespaceCommitter, boolean forFreespace)
protected void
free(FreespaceManager freespaceManager, Slot slot)
protected boolean
freeToSystemFreespaceSystem()
-
Methods inherited from class com.db4o.internal.slots.SystemSlotChange
modifiedSlotInParentIdSystem, removeId
-
Methods inherited from class com.db4o.internal.slots.SlotChange
forFreespace, freePreviouslyModifiedSlot, isDeleted, isNew, newSlot, notifyDeleted, notifySlotCreated, notifySlotUpdated, read, rollback, shallowClone, slotModified, toString, write, writePointer
-
Methods inherited from class com.db4o.internal.TreeInt
add, addAll, compare, duplicates, equals, find, find, key, marshalledLength, marshalledLength, marshalledLength, ownLength, removeLike, shallowCloneInternal, write, write
-
Methods inherited from class com.db4o.foundation.Tree
accept, add, add, add, addedOrExisting, balance, balanceCheckNulls, calculateSize, deepClone, deepClone, depth, filter, find, find, findGreaterOrEqual, findSmaller, first, last, last, nodes, onAttemptToAddDuplicate, ownSize, remove, removeChildren, removeFirst, removeLike, removeLike, removeNode, root, rotateLeft, rotateRight, setSizeOwn, setSizeOwnPlus, setSizeOwnPlus, setSizeOwnPreceding, setSizeOwnPrecedingSubsequent, setSizeOwnSubsequent, size, size, traverse, traverse, traverse, traverseFromLeaves, wasAddedToTree
-
-
-
-
Method Detail
-
free
protected void free(FreespaceManager freespaceManager, Slot slot)
- Overrides:
free
in classSlotChange
-
accumulateFreeSlot
public void accumulateFreeSlot(TransactionalIdSystemImpl idSystem, FreespaceCommitter freespaceCommitter, boolean forFreespace)
- Overrides:
accumulateFreeSlot
in classSystemSlotChange
-
freeToSystemFreespaceSystem
protected boolean freeToSystemFreespaceSystem()
- Overrides:
freeToSystemFreespaceSystem
in classSlotChange
-
-