public class TxLogProxy extends java.lang.Object implements TxLog
Constructor and Description |
---|
TxLogProxy(TxLogBeanMBean txLogProxy) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStoreName() |
boolean |
remove_committed(Uid u,
java.lang.String tn)
Remove the object's committed state.
|
void |
start() |
void |
stop() |
void |
sync()
Some object store implementations may be running with automatic
sync disabled.
|
boolean |
write_committed(Uid u,
java.lang.String tn,
OutputObjectState buff)
Write a new copy of the object's committed state.
|
public TxLogProxy(TxLogBeanMBean txLogProxy)
public boolean remove_committed(Uid u, java.lang.String tn) throws ObjectStoreException
TxLog
remove_committed
in interface TxLog
u
- The object to work on.tn
- The type of the object to work on.true
if no errors occurred, false
otherwise.ObjectStoreException
public boolean write_committed(Uid u, java.lang.String tn, OutputObjectState buff) throws ObjectStoreException
TxLog
write_committed
in interface TxLog
u
- The object to work on.tn
- The type of the object to work on.buff
- The state to write.true
if no errors occurred, false
otherwise.ObjectStoreException
public void sync() throws java.io.SyncFailedException, ObjectStoreException
TxLog
sync
in interface TxLog
java.io.SyncFailedException
ObjectStoreException
public java.lang.String getStoreName()
getStoreName
in interface BaseStore