javax.management.DynamicMBean
, HealthFeedback
, JTAStatisticsRuntimeMBean
, JTATransactionStatisticsRuntimeMBean
, javax.management.MBeanRegistration
, javax.management.NotificationBroadcaster
, RuntimeMBean
, WebLogicMBean
public interface JTARuntimeMBean extends JTATransactionStatisticsRuntimeMBean, HealthFeedback
Modifier and Type | Method | Description |
---|---|---|
void |
forceGlobalCommit(javax.transaction.xa.Xid xid) |
Forces the transaction represented by xid to be committed at all
participating SubCoordinators.
|
void |
forceGlobalRollback(javax.transaction.xa.Xid xid) |
Forces the transaction represented by xid to be rolled-back at
all participating SubCoordinators.
|
void |
forceLocalCommit(javax.transaction.xa.Xid xid) |
Forces the transaction represented by xid to be committed at the
local SubCoordinator only.
|
void |
forceLocalRollback(javax.transaction.xa.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(java.lang.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(java.lang.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.
|
java.lang.String[] |
getRegisteredNonXAResourceNames() |
An array of NonXA resource names that are registered with the
transaction manager.
|
java.lang.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(java.lang.Integer seconds) |
An array of
JTATransaction objects. |
getAttribute, getAttributes, invoke, setAttribute, setAttributes
getTransactionCommittedTotalCount, getTransactionHeuristicsTotalCount, getTransactionRolledBackTotalCount, getTransactionTotalCount
getSecondsActiveTotalCount, getTransactionAbandonedTotalCount, getTransactionLLRCommittedTotalCount, getTransactionNoResourcesCommittedTotalCount, getTransactionOneResourceOnePhaseCommittedTotalCount, getTransactionReadOnlyOnePhaseCommittedTotalCount, getTransactionRolledBackAppTotalCount, getTransactionRolledBackResourceTotalCount, getTransactionRolledBackSystemTotalCount, getTransactionRolledBackTimeoutTotalCount, getTransactionTwoPhaseCommittedLoggedTotalCount, getTransactionTwoPhaseCommittedNotLoggedTotalCount, getTransactionTwoPhaseCommittedTotalCount
postDeregister, postRegister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, removePropertyChangeListener
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
TransactionNameRuntimeMBean[] getTransactionNameRuntimeMBeans() throws java.rmi.RemoteException
An array of TransactionNameRuntimeMBeans
that
represent statistics for all transactions in the server,
categorized by transaction name.
java.rmi.RemoteException
TransactionNameRuntimeMBean
TransactionResourceRuntimeMBean[] getTransactionResourceRuntimeMBeans() throws java.rmi.RemoteException
An array of TransactionResourceRuntimeMBeans
that
each represents the statistics for a transaction resource.
java.rmi.RemoteException
TransactionResourceRuntimeMBean
NonXAResourceRuntimeMBean[] getNonXAResourceRuntimeMBeans() throws java.rmi.RemoteException
An array of NonXAResourceRuntimeMBeans
that each
represents the statistics for a non-XA resource.
java.rmi.RemoteException
NonXAResourceRuntimeMBean
JTATransaction[] getTransactionsOlderThan(java.lang.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.
java.lang.String[] getRegisteredResourceNames()
An array of XA resource names that are registered with the transaction manager.
java.lang.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(java.lang.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 HealthFeedback
HealthState
void forceLocalRollback(javax.transaction.xa.Xid xid) throws java.rmi.RemoteException
Forces the transaction represented by xid to be rolled-back at the local SubCoordinator only.
xid
- java.rmi.RemoteException
void forceGlobalRollback(javax.transaction.xa.Xid xid) throws java.rmi.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
- java.rmi.RemoteException
void forceLocalCommit(javax.transaction.xa.Xid xid) throws java.rmi.RemoteException
Forces the transaction represented by xid to be committed at the local SubCoordinator only.
xid
- java.rmi.RemoteException
void forceGlobalCommit(javax.transaction.xa.Xid xid) throws java.rmi.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
- java.rmi.RemoteException
JTATransaction getJTATransaction(java.lang.String xid) throws java.rmi.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
- java.rmi.RemoteException
PersistentStoreRuntimeMBean getTransactionLogStoreRuntimeMBean()
Returns the runtime MBean for the primary TLOG persistent store, regardless of it is default store or JDBC store.