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
TxLogremove_committed in interface TxLogu - The object to work on.tn - The type of the object to work on.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic boolean write_committed(Uid u, String tn, OutputObjectState buff) throws ObjectStoreException
TxLogwrite_committed in interface TxLogu - 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.ObjectStoreExceptionpublic void sync()
throws SyncFailedException,
ObjectStoreException
TxLogsync in interface TxLogSyncFailedExceptionObjectStoreExceptionpublic String getStoreName()
getStoreName in interface BaseStoreCopyright © 2014. All Rights Reserved.