Package com.db4o.internal.references
Class TransactionalReferenceSystem
- java.lang.Object
-
- com.db4o.internal.references.TransactionalReferenceSystemBase
-
- com.db4o.internal.references.TransactionalReferenceSystem
-
- All Implemented Interfaces:
ReferenceSystem
public class TransactionalReferenceSystem extends TransactionalReferenceSystemBase implements ReferenceSystem
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.references.TransactionalReferenceSystemBase
_committedReferences, _newReferences
-
-
Constructor Summary
Constructors Constructor Description TransactionalReferenceSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExistingReference(ObjectReference ref)
void
addNewReference(ObjectReference ref)
void
commit()
void
discarded()
void
removeReference(ObjectReference ref)
void
rollback()
-
Methods inherited from class com.db4o.internal.references.TransactionalReferenceSystemBase
createNewReferences, referenceForId, referenceForObject, traverseNewReferences, traverseReferences
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.db4o.internal.references.ReferenceSystem
referenceForId, referenceForObject, traverseReferences
-
-
-
-
Method Detail
-
commit
public void commit()
- Specified by:
commit
in interfaceReferenceSystem
- Specified by:
commit
in classTransactionalReferenceSystemBase
-
addExistingReference
public void addExistingReference(ObjectReference ref)
- Specified by:
addExistingReference
in interfaceReferenceSystem
- Specified by:
addExistingReference
in classTransactionalReferenceSystemBase
-
addNewReference
public void addNewReference(ObjectReference ref)
- Specified by:
addNewReference
in interfaceReferenceSystem
- Specified by:
addNewReference
in classTransactionalReferenceSystemBase
-
removeReference
public void removeReference(ObjectReference ref)
- Specified by:
removeReference
in interfaceReferenceSystem
- Specified by:
removeReference
in classTransactionalReferenceSystemBase
-
rollback
public void rollback()
- Specified by:
rollback
in interfaceReferenceSystem
- Specified by:
rollback
in classTransactionalReferenceSystemBase
-
discarded
public void discarded()
- Specified by:
discarded
in interfaceReferenceSystem
-
-