Interface TxLog
- All Superinterfaces:
BaseStore
- All Known Subinterfaces:
ObjectStoreAPI
,ParticipantStore
,RecoveryStore
- All Known Implementing Classes:
ActionStore
,CacheStore
,FileLockingStore
,FileSystemStore
,HashedActionStore
,HashedStore
,HornetqObjectStoreAdaptor
,JDBCStore
,LogStore
,NullActionStore
,ObjectStore
,ParticipantStoreProxy
,RecoveryStoreProxy
,ShadowingStore
,ShadowNoFileLockStore
,SlotStoreAdaptor
,TwoPhaseVolatileStore
,TxLogProxy
,VolatileStore
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 TypeMethodDescriptionboolean
remove_committed
(Uid u, String tn) Remove the object's committed state.void
sync()
Some object store implementations may be running with automatic sync disabled.boolean
write_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:
true
if no errors occurred,false
otherwise.- 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:
true
if no errors occurred,false
otherwise.- 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.
-