Package com.db4o.internal.btree
Class BTreeAdd
- java.lang.Object
-
- com.db4o.internal.btree.BTreePatch
-
- com.db4o.internal.btree.BTreeAdd
-
public class BTreeAdd extends BTreePatch
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.btree.BTreePatch
_object, _transaction
-
-
Constructor Summary
Constructors Constructor Description BTreeAdd(Transaction transaction, java.lang.Object obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
commit(Transaction trans, BTree btree, BTreeNode node)
BTreePatch
forTransaction(Transaction trans)
boolean
isAdd()
java.lang.Object
key(Transaction trans)
java.lang.Object
rollback(Transaction trans, BTree btree)
protected java.lang.Object
rolledBack(BTree btree)
int
sizeDiff(Transaction trans)
java.lang.String
toString()
-
Methods inherited from class com.db4o.internal.btree.BTreePatch
getObject, isCancelledRemoval, isRemove
-
-
-
-
Constructor Detail
-
BTreeAdd
public BTreeAdd(Transaction transaction, java.lang.Object obj)
-
-
Method Detail
-
rolledBack
protected java.lang.Object rolledBack(BTree btree)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBTreePatch
-
commit
public java.lang.Object commit(Transaction trans, BTree btree, BTreeNode node)
- Specified by:
commit
in classBTreePatch
-
forTransaction
public BTreePatch forTransaction(Transaction trans)
- Specified by:
forTransaction
in classBTreePatch
-
key
public java.lang.Object key(Transaction trans)
- Specified by:
key
in classBTreePatch
-
rollback
public java.lang.Object rollback(Transaction trans, BTree btree)
- Specified by:
rollback
in classBTreePatch
-
isAdd
public boolean isAdd()
- Overrides:
isAdd
in classBTreePatch
-
sizeDiff
public int sizeDiff(Transaction trans)
- Specified by:
sizeDiff
in classBTreePatch
-
-