public class RecoveryStoreBean extends TxLogBean implements RecoveryStoreBeanMBean
Constructor and Description |
---|
RecoveryStoreBean()
Construct an MBean corresponding to the default recovery store in this JVM
|
RecoveryStoreBean(RecoveryStore rs)
Construct an MBean corresponding to the given store
|
Modifier and Type | Method and Description |
---|---|
ObjectStateWrapper |
allObjUids(String type) |
ObjectStateWrapper |
allObjUids(String type,
int m) |
ObjectStateWrapper |
allTypes() |
int |
currentState(Uid u,
String tn) |
protected ObjectName |
getMBeanName()
The object name that the MBean will be registered with the MBean Server
|
boolean |
hide_state(Uid u,
String tn) |
boolean |
isType(Uid u,
String tn,
int st) |
ObjectStateWrapper |
read_committed(Uid u,
String tn) |
boolean |
reveal_state(Uid u,
String tn) |
getStore, remove_committed, sync, write_committed
getNotificationInfo, getStoreName, start, stop
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove_committed, sync, write_committed
getStoreName, start, stop
public RecoveryStoreBean()
public RecoveryStoreBean(RecoveryStore rs)
rs
- the RecoveryStore that is wrapped by this MBeanprotected ObjectName getMBeanName()
BaseStoreBean
getMBeanName
in class TxLogBean
public ObjectStateWrapper allObjUids(String type, int m) throws ObjectStoreException
allObjUids
in interface RecoveryStoreBeanMBean
ObjectStoreException
public ObjectStateWrapper allObjUids(String type) throws ObjectStoreException
allObjUids
in interface RecoveryStoreBeanMBean
ObjectStoreException
public ObjectStateWrapper allTypes() throws ObjectStoreException
allTypes
in interface RecoveryStoreBeanMBean
ObjectStoreException
public int currentState(Uid u, String tn) throws ObjectStoreException
currentState
in interface RecoveryStoreBeanMBean
ObjectStoreException
public boolean hide_state(Uid u, String tn) throws ObjectStoreException
hide_state
in interface RecoveryStoreBeanMBean
ObjectStoreException
public boolean reveal_state(Uid u, String tn) throws ObjectStoreException
reveal_state
in interface RecoveryStoreBeanMBean
ObjectStoreException
public ObjectStateWrapper read_committed(Uid u, String tn) throws ObjectStoreException
read_committed
in interface RecoveryStoreBeanMBean
ObjectStoreException
public boolean isType(Uid u, String tn, int st) throws ObjectStoreException
isType
in interface RecoveryStoreBeanMBean
ObjectStoreException
Copyright © 2013. All rights reserved.