|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecoveryStore
All ObjectStore implementations that are used to drive recovery MUST implement this interface. Because recovery is a superset of transaction logging, those methods are also available.
| Method Summary | |
|---|---|
boolean |
allObjUids(String s,
InputObjectState buff)
|
boolean |
allObjUids(String s,
InputObjectState buff,
int m)
Obtain all of the Uids for a specified type. |
boolean |
allTypes(InputObjectState buff)
Obtain all types of objects stored in the object store. |
int |
currentState(Uid u,
String tn)
|
boolean |
hide_state(Uid u,
String tn)
Hide the object's state in the object store. |
boolean |
isType(Uid u,
String tn,
int st)
Is the current state of the object the same as that provided as the last parameter? |
InputObjectState |
read_committed(Uid u,
String tn)
Read the object's committed state. |
boolean |
reveal_state(Uid u,
String tn)
Reveal a hidden object's 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 allObjUids(String s,
InputObjectState buff,
int m)
throws ObjectStoreException
s - The type to scan for.buff - The object state in which to store the Uidsm - The file type to look for (e.g., committed, shadowed). [StateStatus]
true if no errors occurred, false
otherwise.
ObjectStoreException
boolean allObjUids(String s,
InputObjectState buff)
throws ObjectStoreException
ObjectStoreException
boolean allTypes(InputObjectState buff)
throws ObjectStoreException
buff - The state in which to store the types.
true if no errors occurred, false
otherwise.
ObjectStoreException
int currentState(Uid u,
String tn)
throws ObjectStoreException
u - The object to query.tn - The type of the object to query.
ObjectStoreException
boolean hide_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
boolean reveal_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
boolean isType(Uid u,
String tn,
int st)
throws ObjectStoreException
u - The object to work on.tn - The type of the object.st - The expected type of the object. [StateType]
true if the current state is as expected,
false otherwise.
ObjectStoreException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||