Package com.db4o.cs.internal
Class ClientTransaction
- java.lang.Object
-
- com.db4o.internal.Transaction
-
- com.db4o.cs.internal.ClientTransaction
-
public final class ClientTransaction extends Transaction
-
-
Field Summary
Fields Modifier and Type Field Description protected Tree
_objectRefrencesToGC
-
Fields inherited from class com.db4o.internal.Transaction
_systemTransaction
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
commit()
boolean
delete(ObjectReference ref, int id, int cascade)
long
generateTransactionTimestamp(long forcedTimeStamp)
TransactionalIdSystem
idSystem()
void
preCommit()
void
processDeletes()
void
rollback()
void
useDefaultTransactionTimestamp()
long
versionForId(int id)
void
writeUpdateAdjustIndexes(int id, ClassMetadata classMetadata, ArrayType arrayType)
-
Methods inherited from class com.db4o.internal.Transaction
addNewReference, addTransactionListener, checkSynchronization, clearAll, close, commitReferenceSystem, commitTransactionListeners, container, context, discardReferenceSystem, dontDelete, get, isSystemTransaction, objectContainer, objectForIdFromCache, parentTransaction, postCommit, postOpen, referenceForId, referenceForObject, referenceSystem, reflector, removeObjectFromReferenceSystem, removeReference, rollbackReferenceSystem, rollBackTransactionListeners, setOutSideRepresentation, systemTransaction, toString, traverseDelete, wrap
-
-
-
-
Field Detail
-
_objectRefrencesToGC
protected Tree _objectRefrencesToGC
-
-
Method Detail
-
commit
public void commit()
- Specified by:
commit
in classTransaction
-
preCommit
public void preCommit()
-
clear
protected void clear()
- Specified by:
clear
in classTransaction
-
delete
public boolean delete(ObjectReference ref, int id, int cascade)
- Overrides:
delete
in classTransaction
-
processDeletes
public void processDeletes()
- Specified by:
processDeletes
in classTransaction
-
rollback
public void rollback()
- Specified by:
rollback
in classTransaction
-
writeUpdateAdjustIndexes
public void writeUpdateAdjustIndexes(int id, ClassMetadata classMetadata, ArrayType arrayType)
- Specified by:
writeUpdateAdjustIndexes
in classTransaction
-
idSystem
public TransactionalIdSystem idSystem()
- Specified by:
idSystem
in classTransaction
-
versionForId
public long versionForId(int id)
- Specified by:
versionForId
in classTransaction
-
generateTransactionTimestamp
public long generateTransactionTimestamp(long forcedTimeStamp)
- Specified by:
generateTransactionTimestamp
in classTransaction
-
useDefaultTransactionTimestamp
public void useDefaultTransactionTimestamp()
- Specified by:
useDefaultTransactionTimestamp
in classTransaction
-
-