public interface JTARuntimeMBean extends JTATransactionStatisticsRuntimeMBean, HealthFeedback
| Modifier and Type | Method and Description |
|---|---|
void |
forceGlobalCommit(Xid xid)
Forces the transaction represented by xid to be committed at all
participating SubCoordinators.
|
void |
forceGlobalRollback(Xid xid)
Forces the transaction represented by xid to be rolled-back at
all participating SubCoordinators.
|
void |
forceLocalCommit(Xid xid)
Forces the transaction represented by xid to be committed at the
local SubCoordinator only.
|
void |
forceLocalRollback(Xid xid)
Forces the transaction represented by xid to be rolled-back at
the local SubCoordinator only.
|
int |
getActiveTransactionsTotalCount()
The number of active transactions on the server.
|
HealthState |
getHealthState()
The health state of the JTA subsystem.
|
JTATransaction |
getJTATransaction(String xid)
Returns the JTATransaction information object for the specified
Xid.
|
JTATransaction[] |
getJTATransactions()
An array of
JTATransaction objects. |
NonXAResourceRuntimeMBean[] |
getNonXAResourceRuntimeMBeans()
An array of
NonXAResourceRuntimeMBeans that each
represents the statistics for a non-XA resource. |
JTARecoveryRuntimeMBean |
getRecoveryRuntimeMBean(String serverName)
Returns the runtime MBean for the Transaction Recovery Service
of the specified server.
|
JTARecoveryRuntimeMBean[] |
getRecoveryRuntimeMBeans()
Returns the runtime MBeans for the Transaction Recovery Services
that were deployed on this server.
|
String[] |
getRegisteredNonXAResourceNames()
An array of NonXA resource names that are registered with the
transaction manager.
|
String[] |
getRegisteredResourceNames()
An array of XA resource names that are registered with the
transaction manager.
|
PersistentStoreRuntimeMBean |
getTransactionLogStoreRuntimeMBean()
Returns the runtime MBean for the primary TLOG persistent store, regardless of it is default store or JDBC store.
|
TransactionNameRuntimeMBean[] |
getTransactionNameRuntimeMBeans()
An array of
TransactionNameRuntimeMBeans that
represent statistics for all transactions in the server,
categorized by transaction name. |
TransactionResourceRuntimeMBean[] |
getTransactionResourceRuntimeMBeans()
An array of
TransactionResourceRuntimeMBeans that
each represents the statistics for a transaction resource. |
JTATransaction[] |
getTransactionsOlderThan(Integer seconds)
An array of
JTATransaction objects. |
getSecondsActiveTotalCount, getTransactionAbandonedTotalCount, getTransactionLLRCommittedTotalCount, getTransactionNoResourcesCommittedTotalCount, getTransactionOneResourceOnePhaseCommittedTotalCount, getTransactionReadOnlyOnePhaseCommittedTotalCount, getTransactionRolledBackAppTotalCount, getTransactionRolledBackResourceTotalCount, getTransactionRolledBackSystemTotalCount, getTransactionRolledBackTimeoutTotalCount, getTransactionTwoPhaseCommittedLoggedTotalCount, getTransactionTwoPhaseCommittedNotLoggedTotalCount, getTransactionTwoPhaseCommittedTotalCountgetTransactionCommittedTotalCount, getTransactionHeuristicsTotalCount, getTransactionRolledBackTotalCount, getTransactionTotalCountaddPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListenerTransactionNameRuntimeMBean[] getTransactionNameRuntimeMBeans() throws RemoteException
An array of TransactionNameRuntimeMBeans that
represent statistics for all transactions in the server,
categorized by transaction name.
RemoteExceptionTransactionNameRuntimeMBeanTransactionResourceRuntimeMBean[] getTransactionResourceRuntimeMBeans() throws RemoteException
An array of TransactionResourceRuntimeMBeans that
each represents the statistics for a transaction resource.
RemoteExceptionTransactionResourceRuntimeMBeanNonXAResourceRuntimeMBean[] getNonXAResourceRuntimeMBeans() throws RemoteException
An array of NonXAResourceRuntimeMBeans that each
represents the statistics for a non-XA resource.
RemoteExceptionNonXAResourceRuntimeMBeanJTATransaction[] getTransactionsOlderThan(Integer seconds)
An array of JTATransaction objects. Each object
provides detailed information regarding an active transaction that
has existed for a period longer than the time specified.
seconds - The transaction duration in seconds qualifier.JTATransaction[] getJTATransactions()
An array of JTATransaction objects. Each object
provides detailed information regarding an active transaction.
String[] getRegisteredResourceNames()
An array of XA resource names that are registered with the transaction manager.
String[] getRegisteredNonXAResourceNames()
An array of NonXA resource names that are registered with the transaction manager.
int getActiveTransactionsTotalCount()
The number of active transactions on the server.
JTARecoveryRuntimeMBean[] getRecoveryRuntimeMBeans()
Returns the runtime MBeans for the Transaction Recovery Services that were deployed on this server.
JTARecoveryRuntimeMBean getRecoveryRuntimeMBean(String serverName)
Returns the runtime MBean for the Transaction Recovery Service of the specified server. If the Transaction Recovery Service of the specified server is not deployed on this server, null will be returned.
serverName - HealthState getHealthState()
The health state of the JTA subsystem. for state values.
getHealthState in interface HealthFeedbackHealthStatevoid forceLocalRollback(Xid xid) throws RemoteException
Forces the transaction represented by xid to be rolled-back at the local SubCoordinator only.
xid - RemoteExceptionvoid forceGlobalRollback(Xid xid) throws RemoteException
Forces the transaction represented by xid to be rolled-back at all participating SubCoordinators. If the server on which the method is invoked is not the coordinating server then the coordinating server will be notified to process the rollback.
xid - RemoteExceptionvoid forceLocalCommit(Xid xid) throws RemoteException
Forces the transaction represented by xid to be committed at the local SubCoordinator only.
xid - RemoteExceptionvoid forceGlobalCommit(Xid xid) throws RemoteException
Forces the transaction represented by xid to be committed at all participating SubCoordinators. If the server on which the method is invoked is not the coordinating server then the coordinating server will be notified to process the commit.
xid - RemoteExceptionJTATransaction getJTATransaction(String xid) throws RemoteException
Returns the JTATransaction information object for the specified Xid. If the transaction represented by xid does not exist on the server, then the method will return null.
xid - RemoteExceptionPersistentStoreRuntimeMBean getTransactionLogStoreRuntimeMBean()
Returns the runtime MBean for the primary TLOG persistent store, regardless of it is default store or JDBC store.