|
|||||||||
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.RecoveryStoreProxy
public class RecoveryStoreProxy
Remote proxy to a RecoveryStore
Constructor Summary | |
---|---|
RecoveryStoreProxy(RecoveryStoreBeanMBean rsProxy)
|
Method Summary | |
---|---|
boolean |
allObjUids(java.lang.String type,
InputObjectState buff)
|
boolean |
allObjUids(java.lang.String type,
InputObjectState buff,
int match)
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,
java.lang.String tn)
|
boolean |
hide_state(Uid u,
java.lang.String tn)
Hide the object's state in the object store. |
boolean |
isType(Uid u,
java.lang.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,
java.lang.String tn)
Read the object's committed state. |
boolean |
reveal_state(Uid u,
java.lang.String tn)
Reveal a hidden object's 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 RecoveryStoreProxy(RecoveryStoreBeanMBean rsProxy)
Method Detail |
---|
public boolean allObjUids(java.lang.String type, InputObjectState buff, int match) throws ObjectStoreException
RecoveryStore
allObjUids
in interface RecoveryStore
type
- The type to scan for.buff
- The object state in which to store the Uidsmatch
- The file type to look for (e.g., committed, shadowed). [StateStatus]
true
if no errors occurred, false
otherwise.
ObjectStoreException
public boolean allObjUids(java.lang.String type, InputObjectState buff) throws ObjectStoreException
allObjUids
in interface RecoveryStore
ObjectStoreException
public boolean allTypes(InputObjectState buff) throws ObjectStoreException
RecoveryStore
allTypes
in interface RecoveryStore
buff
- The state in which to store the types.
true
if no errors occurred, false
otherwise.
ObjectStoreException
public int currentState(Uid u, java.lang.String tn) throws ObjectStoreException
currentState
in interface RecoveryStore
u
- The object to query.tn
- The type of the object to query.
ObjectStoreException
public boolean hide_state(Uid u, java.lang.String tn) throws ObjectStoreException
RecoveryStore
hide_state
in interface RecoveryStore
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 reveal_state(Uid u, java.lang.String tn) throws ObjectStoreException
RecoveryStore
reveal_state
in interface RecoveryStore
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, java.lang.String tn) throws ObjectStoreException
RecoveryStore
read_committed
in interface RecoveryStore
u
- The object to work on.tn
- The type of the object to work on.
ObjectStoreException
public boolean isType(Uid u, java.lang.String tn, int st) throws ObjectStoreException
RecoveryStore
isType
in interface RecoveryStore
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 |