Package com.db4o.internal.btree
Class BTreeCancelledRemoval
- java.lang.Object
-
- com.db4o.internal.btree.BTreePatch
-
- com.db4o.internal.btree.BTreeUpdate
-
- com.db4o.internal.btree.BTreeCancelledRemoval
-
public class BTreeCancelledRemoval extends BTreeUpdate
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.btree.BTreeUpdate
_next
-
Fields inherited from class com.db4o.internal.btree.BTreePatch
_object, _transaction
-
-
Constructor Summary
Constructors Constructor Description BTreeCancelledRemoval(Transaction transaction, java.lang.Object originalKey, java.lang.Object newKey, BTreeUpdate existingPatches)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
adjustSizeOnRemovalByOtherTransaction(BTree btree, BTreeNode node)
protected void
committed(BTree btree)
protected java.lang.Object
getCommittedObject()
boolean
isCancelledRemoval()
protected int
sizeDiff()
java.lang.String
toString()
-
Methods inherited from class com.db4o.internal.btree.BTreeUpdate
append, applyKeyChange, commit, forTransaction, hasNext, internalCommit, key, removedBy, removeFor, replacePatch, rollback, sizeDiff
-
Methods inherited from class com.db4o.internal.btree.BTreePatch
getObject, isAdd, isRemove
-
-
-
-
Constructor Detail
-
BTreeCancelledRemoval
public BTreeCancelledRemoval(Transaction transaction, java.lang.Object originalKey, java.lang.Object newKey, BTreeUpdate existingPatches)
-
-
Method Detail
-
committed
protected void committed(BTree btree)
- Specified by:
committed
in classBTreeUpdate
-
isCancelledRemoval
public boolean isCancelledRemoval()
- Overrides:
isCancelledRemoval
in classBTreePatch
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBTreePatch
-
getCommittedObject
protected java.lang.Object getCommittedObject()
- Specified by:
getCommittedObject
in classBTreeUpdate
-
adjustSizeOnRemovalByOtherTransaction
protected void adjustSizeOnRemovalByOtherTransaction(BTree btree, BTreeNode node)
- Specified by:
adjustSizeOnRemovalByOtherTransaction
in classBTreeUpdate
-
sizeDiff
protected int sizeDiff()
- Specified by:
sizeDiff
in classBTreeUpdate
-
-