Class RecoveryStoreBean
- java.lang.Object
-
- javax.management.NotificationBroadcasterSupport
-
- com.arjuna.ats.arjuna.tools.osb.api.mbeans.BaseStoreBean
-
- com.arjuna.ats.arjuna.tools.osb.api.mbeans.TxLogBean
-
- com.arjuna.ats.arjuna.tools.osb.api.mbeans.RecoveryStoreBean
-
- All Implemented Interfaces:
BaseStoreMBean,RecoveryStoreBeanMBean,TxLogBeanMBean,javax.management.NotificationBroadcaster,javax.management.NotificationEmitter
public class RecoveryStoreBean extends TxLogBean implements RecoveryStoreBeanMBean
implementation of the JMX interface to the JBossTS recovery store
-
-
Constructor Summary
Constructors Constructor Description RecoveryStoreBean()Construct an MBean corresponding to the default recovery store in this JVMRecoveryStoreBean(RecoveryStore rs)Construct an MBean corresponding to the given store
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectStateWrapperallObjUids(java.lang.String type)ObjectStateWrapperallObjUids(java.lang.String type, int m)ObjectStateWrapperallTypes()intcurrentState(Uid u, java.lang.String tn)protected javax.management.ObjectNamegetMBeanName()The object name that the MBean will be registered with the MBean Serverbooleanhide_state(Uid u, java.lang.String tn)booleanisType(Uid u, java.lang.String tn, int st)ObjectStateWrapperread_committed(Uid u, java.lang.String tn)booleanreveal_state(Uid u, java.lang.String tn)-
Methods inherited from class com.arjuna.ats.arjuna.tools.osb.api.mbeans.TxLogBean
getStore, remove_committed, sync, write_committed
-
Methods inherited from class com.arjuna.ats.arjuna.tools.osb.api.mbeans.BaseStoreBean
getNotificationInfo, getStoreName, start, stop
-
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
-
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.tools.osb.api.mbeans.BaseStoreMBean
getStoreName, start, stop
-
Methods inherited from interface com.arjuna.ats.arjuna.tools.osb.api.mbeans.TxLogBeanMBean
remove_committed, sync, write_committed
-
-
-
-
Constructor Detail
-
RecoveryStoreBean
public RecoveryStoreBean()
Construct an MBean corresponding to the default recovery store in this JVM
-
RecoveryStoreBean
public RecoveryStoreBean(RecoveryStore rs)
Construct an MBean corresponding to the given store- Parameters:
rs- the RecoveryStore that is wrapped by this MBean
-
-
Method Detail
-
getMBeanName
protected javax.management.ObjectName getMBeanName()
Description copied from class:BaseStoreBeanThe object name that the MBean will be registered with the MBean Server- Specified by:
getMBeanNamein classTxLogBean- Returns:
- the MBeans object name
-
allObjUids
public ObjectStateWrapper allObjUids(java.lang.String type, int m) throws ObjectStoreException
- Specified by:
allObjUidsin interfaceRecoveryStoreBeanMBean- Throws:
ObjectStoreException
-
allObjUids
public ObjectStateWrapper allObjUids(java.lang.String type) throws ObjectStoreException
- Specified by:
allObjUidsin interfaceRecoveryStoreBeanMBean- Throws:
ObjectStoreException
-
allTypes
public ObjectStateWrapper allTypes() throws ObjectStoreException
- Specified by:
allTypesin interfaceRecoveryStoreBeanMBean- Throws:
ObjectStoreException
-
currentState
public int currentState(Uid u, java.lang.String tn) throws ObjectStoreException
- Specified by:
currentStatein interfaceRecoveryStoreBeanMBean- Throws:
ObjectStoreException
-
hide_state
public boolean hide_state(Uid u, java.lang.String tn) throws ObjectStoreException
- Specified by:
hide_statein interfaceRecoveryStoreBeanMBean- Throws:
ObjectStoreException
-
reveal_state
public boolean reveal_state(Uid u, java.lang.String tn) throws ObjectStoreException
- Specified by:
reveal_statein interfaceRecoveryStoreBeanMBean- Throws:
ObjectStoreException
-
read_committed
public ObjectStateWrapper read_committed(Uid u, java.lang.String tn) throws ObjectStoreException
- Specified by:
read_committedin interfaceRecoveryStoreBeanMBean- Throws:
ObjectStoreException
-
isType
public boolean isType(Uid u, java.lang.String tn, int st) throws ObjectStoreException
- Specified by:
isTypein interfaceRecoveryStoreBeanMBean- Throws:
ObjectStoreException
-
-