Interface TxLog
- All Superinterfaces:
BaseStore
- All Known Subinterfaces:
ObjectStoreAPI,ParticipantStore,RecoveryStore
- All Known Implementing Classes:
ObjectStore,ParticipantStoreProxy,RecoveryStoreProxy,TxLogProxy
All transaction logs MUST implement this interface.
- Since:
- JTS 1.0.
- Version:
- $Id: ObjectStore.java 2342 2006-03-30 13:06:17Z $
- Author:
- Mark Little (mark@arjuna.com)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanremove_committed(Uid u, String tn) Remove the object's committed state.voidsync()Some object store implementations may be running with automatic sync disabled.booleanwrite_committed(Uid u, String tn, OutputObjectState buff) Write a new copy of the object's committed state.Methods inherited from interface com.arjuna.ats.arjuna.objectstore.BaseStore
getStoreName, start, stop
-
Method Details
-
remove_committed
Remove the object's committed state.- Parameters:
u- The object to work on.tn- The type of the object to work on.- Returns:
trueif no errors occurred,falseotherwise.- Throws:
ObjectStoreException
-
write_committed
Write a new copy of the object's committed state.- Parameters:
u- The object to work on.tn- The type of the object to work on.buff- The state to write.- Returns:
trueif no errors occurred,falseotherwise.- Throws:
ObjectStoreException
-
sync
Some object store implementations may be running with automatic sync disabled. Calling this method will ensure that any states are flushed to disk.
-