public class TxLogProxy extends Object implements TxLog
Constructor and Description |
---|
TxLogProxy(TxLogBeanMBean txLogProxy) |
Modifier and Type | Method and Description |
---|---|
String |
getStoreName() |
boolean |
remove_committed(Uid u,
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,
String tn,
OutputObjectState buff)
Write a new copy of the object's committed state.
|
public TxLogProxy(TxLogBeanMBean txLogProxy)
public boolean remove_committed(Uid u, 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, 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 SyncFailedException, ObjectStoreException
TxLog
sync
in interface TxLog
SyncFailedException
ObjectStoreException
public String getStoreName()
getStoreName
in interface BaseStore
Copyright © 2013. All Rights Reserved.