public class RecoveryStoreProxy extends TxLogProxy implements RecoveryStore
| Constructor and Description |
|---|
RecoveryStoreProxy(RecoveryStoreBeanMBean rsProxy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allObjUids(String type,
InputObjectState buff) |
boolean |
allObjUids(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,
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.
|
getStoreName, remove_committed, start, stop, sync, write_committedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremove_committed, sync, write_committedgetStoreName, start, stoppublic RecoveryStoreProxy(RecoveryStoreBeanMBean rsProxy)
public boolean allObjUids(String type, InputObjectState buff, int match) throws ObjectStoreException
RecoveryStoreallObjUids in interface RecoveryStoretype - 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.ObjectStoreExceptionpublic boolean allObjUids(String type, InputObjectState buff) throws ObjectStoreException
allObjUids in interface RecoveryStoreObjectStoreExceptionpublic boolean allTypes(InputObjectState buff) throws ObjectStoreException
RecoveryStoreallTypes in interface RecoveryStorebuff - The state in which to store the types.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic int currentState(Uid u, String tn) throws ObjectStoreException
currentState in interface RecoveryStoreu - The object to query.tn - The type of the object to query.ObjectStoreExceptionpublic boolean hide_state(Uid u, String tn) throws ObjectStoreException
RecoveryStorehide_state in interface RecoveryStoreu - The object to work on.tn - The type of the object to work on.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic boolean reveal_state(Uid u, String tn) throws ObjectStoreException
RecoveryStorereveal_state in interface RecoveryStoreu - The object to work on.tn - The type of the object to work on.true if no errors occurred, false
otherwise.ObjectStoreExceptionpublic InputObjectState read_committed(Uid u, String tn) throws ObjectStoreException
RecoveryStoreread_committed in interface RecoveryStoreu - The object to work on.tn - The type of the object to work on.ObjectStoreExceptionpublic boolean isType(Uid u, String tn, int st) throws ObjectStoreException
RecoveryStoreisType in interface RecoveryStoreu - 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.ObjectStoreExceptionCopyright © 2013. All Rights Reserved.