com.arjuna.ats.arjuna.tools.osb.api.mbeans
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
public class ParticipantStoreBean
- extends TxLogBean
- implements ParticipantStoreBeanMBean
implementation of the JMX interface to the JBossTS participant store
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParticipantStoreBean
public ParticipantStoreBean()
- Construct an MBean corresponding to the default participant store in this JVM
ParticipantStoreBean
public ParticipantStoreBean(ParticipantStore ps)
- Construct an MBean corresponding to the given store
- Parameters:
ps
- the ParticipantStore that is wrapped by this MBean
getMBeanName
protected ObjectName getMBeanName()
- Description copied from class:
BaseStoreBean
- The object name that the MBean will be registered with the MBean Server
- Specified by:
getMBeanName
in class TxLogBean
- Returns:
- the MBeans object name
commit_state
public boolean commit_state(Uid u,
String tn)
throws ObjectStoreException
- Specified by:
commit_state
in interface ParticipantStoreBeanMBean
- Throws:
ObjectStoreException
read_committed
public ObjectStateWrapper read_committed(Uid u,
String tn)
throws ObjectStoreException
- Specified by:
read_committed
in interface ParticipantStoreBeanMBean
- Throws:
ObjectStoreException
read_uncommitted
public ObjectStateWrapper read_uncommitted(Uid u,
String tn)
throws ObjectStoreException
- Specified by:
read_uncommitted
in interface ParticipantStoreBeanMBean
- Throws:
ObjectStoreException
remove_uncommitted
public boolean remove_uncommitted(Uid u,
String tn)
throws ObjectStoreException
- Specified by:
remove_uncommitted
in interface ParticipantStoreBeanMBean
- Throws:
ObjectStoreException
write_uncommitted
public boolean write_uncommitted(Uid u,
String tn,
OutputObjectStateWrapper buff)
throws ObjectStoreException
- Specified by:
write_uncommitted
in interface ParticipantStoreBeanMBean
- Throws:
ObjectStoreException
fullCommitNeeded
public boolean fullCommitNeeded()
- Specified by:
fullCommitNeeded
in interface ParticipantStoreBeanMBean
Copyright © 2012. All Rights Reserved.