Class ParticipantStoreBean
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.ParticipantStoreBean
- All Implemented Interfaces:
BaseStoreMBean,ParticipantStoreBeanMBean,TxLogBeanMBean,NotificationBroadcaster,NotificationEmitter
implementation of the JMX interface to the JBossTS participant store
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct an MBean corresponding to the default participant store in this JVMConstruct an MBean corresponding to the given store -
Method Summary
Modifier and TypeMethodDescriptionbooleancommit_state(Uid u, String tn) booleanprotected ObjectNameThe object name that the MBean will be registered with the MBean Serverread_committed(Uid u, String tn) read_uncommitted(Uid u, String tn) booleanremove_uncommitted(Uid u, String tn) booleanwrite_uncommitted(Uid u, String tn, OutputObjectStateWrapper buff) Methods inherited from class com.arjuna.ats.arjuna.tools.osb.api.mbeans.TxLogBean
getStore, remove_committed, sync, write_committedMethods inherited from class com.arjuna.ats.arjuna.tools.osb.api.mbeans.BaseStoreBean
getNotificationInfo, getStoreName, start, stopMethods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, handleNotification, removeNotificationListener, removeNotificationListener, sendNotificationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.arjuna.ats.arjuna.tools.osb.api.mbeans.BaseStoreMBean
getStoreName, start, stopMethods inherited from interface com.arjuna.ats.arjuna.tools.osb.api.mbeans.TxLogBeanMBean
remove_committed, sync, write_committed
-
Constructor Details
-
ParticipantStoreBean
public ParticipantStoreBean()Construct an MBean corresponding to the default participant store in this JVM -
ParticipantStoreBean
Construct an MBean corresponding to the given store- Parameters:
ps- the ParticipantStore that is wrapped by this MBean
-
-
Method Details
-
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
-
commit_state
- Specified by:
commit_statein interfaceParticipantStoreBeanMBean- Throws:
ObjectStoreException
-
read_committed
- Specified by:
read_committedin interfaceParticipantStoreBeanMBean- Throws:
ObjectStoreException
-
read_uncommitted
- Specified by:
read_uncommittedin interfaceParticipantStoreBeanMBean- Throws:
ObjectStoreException
-
remove_uncommitted
- Specified by:
remove_uncommittedin interfaceParticipantStoreBeanMBean- Throws:
ObjectStoreException
-
write_uncommitted
public boolean write_uncommitted(Uid u, String tn, OutputObjectStateWrapper buff) throws ObjectStoreException - Specified by:
write_uncommittedin interfaceParticipantStoreBeanMBean- Throws:
ObjectStoreException
-
fullCommitNeeded
public boolean fullCommitNeeded()- Specified by:
fullCommitNeededin interfaceParticipantStoreBeanMBean
-