Package com.db4o.internal.references
Class TransactionalReferenceSystemBase
- java.lang.Object
-
- com.db4o.internal.references.TransactionalReferenceSystemBase
-
- Direct Known Subclasses:
TransactionalReferenceSystem
public abstract class TransactionalReferenceSystemBase extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceSystem
_committedReferences
protected ReferenceSystem
_newReferences
-
Constructor Summary
Constructors Constructor Description TransactionalReferenceSystemBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
addExistingReference(ObjectReference ref)
abstract void
addNewReference(ObjectReference ref)
abstract void
commit()
protected void
createNewReferences()
ObjectReference
referenceForId(int id)
ObjectReference
referenceForObject(java.lang.Object obj)
abstract void
removeReference(ObjectReference ref)
abstract void
rollback()
protected void
traverseNewReferences(Visitor4 visitor)
void
traverseReferences(Visitor4 visitor)
-
-
-
Field Detail
-
_committedReferences
protected final ReferenceSystem _committedReferences
-
_newReferences
protected ReferenceSystem _newReferences
-
-
Method Detail
-
addExistingReference
public abstract void addExistingReference(ObjectReference ref)
-
addNewReference
public abstract void addNewReference(ObjectReference ref)
-
commit
public abstract void commit()
-
traverseNewReferences
protected void traverseNewReferences(Visitor4 visitor)
-
createNewReferences
protected void createNewReferences()
-
referenceForId
public ObjectReference referenceForId(int id)
-
referenceForObject
public ObjectReference referenceForObject(java.lang.Object obj)
-
removeReference
public abstract void removeReference(ObjectReference ref)
-
rollback
public abstract void rollback()
-
traverseReferences
public void traverseReferences(Visitor4 visitor)
-
-