|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.arjuna.ats.arjuna.tools.osb.api.proxy.TxLogProxy
com.arjuna.ats.arjuna.tools.osb.api.proxy.ParticipantStoreProxy
public class ParticipantStoreProxy
Remote proxy to a ParticipantStore
| Constructor Summary | |
|---|---|
ParticipantStoreProxy(ParticipantStoreBeanMBean rsProxy)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.arjuna.ats.arjuna.tools.osb.api.proxy.TxLogProxy |
|---|
getStoreName, remove_committed, start, stop, sync, write_committed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.arjuna.ats.arjuna.objectstore.TxLog |
|---|
remove_committed, sync, write_committed |
| Methods inherited from interface com.arjuna.ats.arjuna.objectstore.BaseStore |
|---|
getStoreName, start, stop |
| Constructor Detail |
|---|
public ParticipantStoreProxy(ParticipantStoreBeanMBean rsProxy)
| Method Detail |
|---|
public boolean commit_state(Uid u,
String tn)
throws ObjectStoreException
ParticipantStore
commit_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.
ObjectStoreException
public InputObjectState read_committed(Uid u,
String tn)
throws ObjectStoreException
ParticipantStore
read_committed in interface ParticipantStoreu - 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 ParticipantStoreu - 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 ParticipantStoreu - 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 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 ParticipantStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||