public class ParticipantStoreBean extends TxLogBean implements ParticipantStoreBeanMBean
Constructor and Description |
---|
ParticipantStoreBean()
Construct an MBean corresponding to the default participant store in this JVM
|
ParticipantStoreBean(ParticipantStore ps)
Construct an MBean corresponding to the given store
|
Modifier and Type | Method and Description |
---|---|
boolean |
commit_state(Uid u,
String tn) |
boolean |
fullCommitNeeded() |
protected ObjectName |
getMBeanName()
The object name that the MBean will be registered with the MBean Server
|
ObjectStateWrapper |
read_committed(Uid u,
String tn) |
ObjectStateWrapper |
read_uncommitted(Uid u,
String tn) |
boolean |
remove_uncommitted(Uid u,
String tn) |
boolean |
write_uncommitted(Uid u,
String tn,
OutputObjectStateWrapper buff) |
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 ParticipantStoreBean()
public ParticipantStoreBean(ParticipantStore ps)
ps
- the ParticipantStore that is wrapped by this MBeanprotected ObjectName getMBeanName()
BaseStoreBean
getMBeanName
in class TxLogBean
public boolean commit_state(Uid u, String tn) throws ObjectStoreException
commit_state
in interface ParticipantStoreBeanMBean
ObjectStoreException
public ObjectStateWrapper read_committed(Uid u, String tn) throws ObjectStoreException
read_committed
in interface ParticipantStoreBeanMBean
ObjectStoreException
public ObjectStateWrapper read_uncommitted(Uid u, String tn) throws ObjectStoreException
read_uncommitted
in interface ParticipantStoreBeanMBean
ObjectStoreException
public boolean remove_uncommitted(Uid u, String tn) throws ObjectStoreException
remove_uncommitted
in interface ParticipantStoreBeanMBean
ObjectStoreException
public boolean write_uncommitted(Uid u, String tn, OutputObjectStateWrapper buff) throws ObjectStoreException
write_uncommitted
in interface ParticipantStoreBeanMBean
ObjectStoreException
public boolean fullCommitNeeded()
fullCommitNeeded
in interface ParticipantStoreBeanMBean
Copyright © 2013. All Rights Reserved.