Class TxLogProxy
java.lang.Object
com.arjuna.ats.arjuna.tools.osb.api.proxy.TxLogProxy
- Direct Known Subclasses:
ParticipantStoreProxy,RecoveryStoreProxy
Remote proxy to a TxLog Store
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanremove_committed(Uid u, String tn) Remove the object's committed state.voidstart()voidstop()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.
-
Constructor Details
-
TxLogProxy
-
-
Method Details
-
remove_committed
Description copied from interface:TxLogRemove the object's committed state.- Specified by:
remove_committedin interfaceTxLog- 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
public boolean write_committed(Uid u, String tn, OutputObjectState buff) throws ObjectStoreException Description copied from interface:TxLogWrite a new copy of the object's committed state.- Specified by:
write_committedin interfaceTxLog- 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
Description copied from interface:TxLogSome object store implementations may be running with automatic sync disabled. Calling this method will ensure that any states are flushed to disk.- Specified by:
syncin interfaceTxLog- Throws:
SyncFailedExceptionObjectStoreException
-
getStoreName
- Specified by:
getStoreNamein interfaceBaseStore- Returns:
- the "name" of the object store. Where in the hierarchy it appears, e.g., /ObjectStore/MyName/...
-
start
public void start() -
stop
public void stop()
-