public class ParticipantStoreProxy extends TxLogProxy implements ParticipantStore
| Constructor and Description |
|---|
ParticipantStoreProxy(ParticipantStoreBeanMBean rsProxy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
commit_state(Uid u,
String tn)
Commit the object's state in the object store.
|
boolean |
fullCommitNeeded() |
InputObjectState |
read_committed(Uid u,
String tn)
Read the object's committed state.
|
InputObjectState |
read_uncommitted(Uid u,
String tn)
Read the object's shadowed state.
|
boolean |
remove_uncommitted(Uid u,
String tn)
Remove the object's uncommitted state.
|
boolean |
write_uncommitted(Uid u,
String tn,
OutputObjectState buff)
Write a copy of the object's uncommitted state.
|
getStoreName, remove_committed, start, stop, sync, write_committedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremove_committed, sync, write_committedgetStoreName, start, stoppublic ParticipantStoreProxy(ParticipantStoreBeanMBean rsProxy)
public boolean commit_state(Uid u, String tn) throws ObjectStoreException
ParticipantStorecommit_state in interface ParticipantStoreu - The object to work on.tn - The type of the object to work on.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic InputObjectState read_committed(Uid u, String tn) throws ObjectStoreException
ParticipantStoreread_committed in interface ParticipantStoreu - The object to work on.tn - The type of the object to work on.ObjectStoreExceptionpublic InputObjectState read_uncommitted(Uid u, String tn) throws ObjectStoreException
ParticipantStoreread_uncommitted in interface ParticipantStoreu - The object to work on.tn - The type of the object to work on.ObjectStoreExceptionpublic boolean remove_uncommitted(Uid u, String tn) throws ObjectStoreException
ParticipantStoreremove_uncommitted in interface ParticipantStoreu - The object to work on.tn - The type of the object to work on.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic boolean write_uncommitted(Uid u, String tn, OutputObjectState buff) throws ObjectStoreException
ParticipantStorewrite_uncommitted in interface ParticipantStoreu - 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 boolean fullCommitNeeded()
fullCommitNeeded in interface ParticipantStoreCopyright © 2014. All Rights Reserved.