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_committed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove_committed, sync, write_committed
getStoreName, start, stop
public ParticipantStoreProxy(ParticipantStoreBeanMBean rsProxy)
public boolean commit_state(Uid u, String tn) throws ObjectStoreException
ParticipantStore
commit_state
in interface ParticipantStore
u
- The object to work on.tn
- The type of the object to work on.true
if no errors occurred, false
otherwise.ObjectStoreException
public InputObjectState read_committed(Uid u, String tn) throws ObjectStoreException
ParticipantStore
read_committed
in interface ParticipantStore
u
- The object to work on.tn
- The type of the object to work on.ObjectStoreException
public InputObjectState read_uncommitted(Uid u, String tn) throws ObjectStoreException
ParticipantStore
read_uncommitted
in interface ParticipantStore
u
- The object to work on.tn
- The type of the object to work on.ObjectStoreException
public boolean remove_uncommitted(Uid u, String tn) throws ObjectStoreException
ParticipantStore
remove_uncommitted
in interface ParticipantStore
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_uncommitted(Uid u, String tn, OutputObjectState buff) throws ObjectStoreException
ParticipantStore
write_uncommitted
in interface ParticipantStore
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 boolean fullCommitNeeded()
fullCommitNeeded
in interface ParticipantStore
Copyright © 2013. All rights reserved.