|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ParticipantStore
Transactional participants MUST use this type of ObjectStore. It allows them to be driven through 2PC.
| 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 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 |
| Method Detail |
|---|
boolean commit_state(Uid u,
String tn)
throws ObjectStoreException
u - The object to work on.tn - The type of the object to work on.
true if no errors occurred, false
otherwise.
ObjectStoreException
InputObjectState read_committed(Uid u,
String tn)
throws ObjectStoreException
u - The object to work on.tn - The type of the object to work on.
ObjectStoreException
InputObjectState read_uncommitted(Uid u,
String tn)
throws ObjectStoreException
u - The object to work on.tn - The type of the object to work on.
ObjectStoreException
boolean remove_uncommitted(Uid u,
String tn)
throws ObjectStoreException
u - The object to work on.tn - The type of the object to work on.
true if no errors occurred, false
otherwise.
ObjectStoreException
boolean write_uncommitted(Uid u,
String tn,
OutputObjectState buff)
throws ObjectStoreException
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.
ObjectStoreExceptionboolean fullCommitNeeded()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||