Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.runtime
Interface JTARuntimeMBean

All Superinterfaces:
DynamicMBean, HealthFeedback, JTAStatisticsRuntimeMBean, JTATransactionStatisticsRuntimeMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface JTARuntimeMBean
extends JTATransactionStatisticsRuntimeMBean, HealthFeedback

This interface is used for accessing transaction runtime characteristics within a WebLogic server.


Method Summary
abstract  void forceGlobalCommit(Xid xid)
          Forces the transaction represented by xid to be committed at all participating SubCoordinators.
abstract  void forceGlobalRollback(Xid xid)
          Forces the transaction represented by xid to be rolled-back at all participating SubCoordinators.
abstract  void forceLocalCommit(Xid xid)
          Forces the transaction represented by xid to be committed at the local SubCoordinator only.
abstract  void forceLocalRollback(Xid xid)
          Forces the transaction represented by xid to be rolled-back at the local SubCoordinator only.
abstract  int getActiveTransactionsTotalCount()
          The number of active transactions on the server.
abstract  HealthState getHealthState()
          The health state of the JTA subsystem.
abstract  JTATransaction getJTATransaction(String xid)
          Returns the JTATransaction information object for the specified Xid.
abstract  JTATransaction[] getJTATransactions()
          An array of JTATransaction objects.
abstract  NonXAResourceRuntimeMBean[] getNonXAResourceRuntimeMBeans()
          An array of NonXAResourceRuntimeMBeans that each represents the statistics for a non-XA resource.
abstract  JTARecoveryRuntimeMBean getRecoveryRuntimeMBean(String serverName)
          Returns the runtime MBean for the Transaction Recovery Service of the specified server.
abstract  JTARecoveryRuntimeMBean[] getRecoveryRuntimeMBeans()
          Returns the runtime MBeans for the Transaction Recovery Services that were deployed on this server.
abstract  String[] getRegisteredNonXAResourceNames()
          An array of NonXA resource names that are registered with the transaction manager.
abstract  String[] getRegisteredResourceNames()
          An array of XA resource names that are registered with the transaction manager.
abstract  PersistentStoreRuntimeMBean getTransactionLogStoreRuntimeMBean()
          Returns the runtime MBean for the primary TLOG persistent store, regardless of it is default store or JDBC store.
abstract  TransactionNameRuntimeMBean[] getTransactionNameRuntimeMBeans()
          An array of TransactionNameRuntimeMBeans that represent statistics for all transactions in the server, categorized by transaction name.
abstract  TransactionResourceRuntimeMBean[] getTransactionResourceRuntimeMBeans()
          An array of TransactionResourceRuntimeMBeans that each represents the statistics for a transaction resource.
abstract  JTATransaction[] getTransactionsOlderThan(Integer seconds)
          An array of JTATransaction objects.

 

Methods inherited from interface weblogic.management.runtime.JTATransactionStatisticsRuntimeMBean
getSecondsActiveTotalCount, getTransactionAbandonedTotalCount, getTransactionLLRCommittedTotalCount, getTransactionNoResourcesCommittedTotalCount, getTransactionOneResourceOnePhaseCommittedTotalCount, getTransactionReadOnlyOnePhaseCommittedTotalCount, getTransactionRolledBackAppTotalCount, getTransactionRolledBackResourceTotalCount, getTransactionRolledBackSystemTotalCount, getTransactionRolledBackTimeoutTotalCount, getTransactionTwoPhaseCommittedLoggedTotalCount, getTransactionTwoPhaseCommittedNotLoggedTotalCount, getTransactionTwoPhaseCommittedTotalCount

 

Methods inherited from interface weblogic.management.runtime.JTAStatisticsRuntimeMBean
getTransactionCommittedTotalCount, getTransactionHeuristicsTotalCount, getTransactionRolledBackTotalCount, getTransactionTotalCount

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Method Detail

getTransactionNameRuntimeMBeans

TransactionNameRuntimeMBean[] getTransactionNameRuntimeMBeans()
                                                              throws RemoteException

An array of TransactionNameRuntimeMBeans that represent statistics for all transactions in the server, categorized by transaction name.

Returns:
The transactionNameRuntimeMBeans value
Throws:
RemoteException
See Also:
TransactionNameRuntimeMBean

getTransactionResourceRuntimeMBeans

TransactionResourceRuntimeMBean[] getTransactionResourceRuntimeMBeans()
                                                                      throws RemoteException

An array of TransactionResourceRuntimeMBeans that each represents the statistics for a transaction resource.

Returns:
The transactionResourceRuntimeMBeans value
Throws:
RemoteException
See Also:
TransactionResourceRuntimeMBean

getNonXAResourceRuntimeMBeans

NonXAResourceRuntimeMBean[] getNonXAResourceRuntimeMBeans()
                                                          throws RemoteException

An array of NonXAResourceRuntimeMBeans that each represents the statistics for a non-XA resource.

Returns:
The nonXAResourceRuntimeMBeans value
Throws:
RemoteException
See Also:
NonXAResourceRuntimeMBean

getTransactionsOlderThan

JTATransaction[] 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.

Parameters:
seconds - The transaction duration in seconds qualifier.
Returns:
The transactionsOlderThan value

getJTATransactions

JTATransaction[] getJTATransactions()

An array of JTATransaction objects. Each object provides detailed information regarding an active transaction.

Returns:
The jTATransactions value

getRegisteredResourceNames

String[] getRegisteredResourceNames()

An array of XA resource names that are registered with the transaction manager.

Returns:
The registeredResourceNames value

getRegisteredNonXAResourceNames

String[] getRegisteredNonXAResourceNames()

An array of NonXA resource names that are registered with the transaction manager.

Returns:
The registeredNonXAResourceNames value

getActiveTransactionsTotalCount

int getActiveTransactionsTotalCount()

The number of active transactions on the server.

Returns:
The activeTransactionsTotalCount value

getRecoveryRuntimeMBeans

JTARecoveryRuntimeMBean[] getRecoveryRuntimeMBeans()

Returns the runtime MBeans for the Transaction Recovery Services that were deployed on this server.

Returns:
The recoveryRuntimeMBeans value

getRecoveryRuntimeMBean

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.

Parameters:
serverName -
Returns:
The recoveryRuntimeMBean value

getHealthState

HealthState getHealthState()

The health state of the JTA subsystem. for state values.

Specified by:
getHealthState in interface HealthFeedback
Returns:
The healthState value
See Also:
HealthState

forceLocalRollback

void forceLocalRollback(Xid xid)
                        throws RemoteException

Forces the transaction represented by xid to be rolled-back at the local SubCoordinator only.

Parameters:
xid -
Throws:
RemoteException

forceGlobalRollback

void 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.

Parameters:
xid -
Throws:
RemoteException

forceLocalCommit

void forceLocalCommit(Xid xid)
                      throws RemoteException

Forces the transaction represented by xid to be committed at the local SubCoordinator only.

Parameters:
xid -
Throws:
RemoteException

forceGlobalCommit

void 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.

Parameters:
xid -
Throws:
RemoteException

getJTATransaction

JTATransaction 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.

Parameters:
xid -
Returns:
The jTATransaction value
Throws:
RemoteException

getTransactionLogStoreRuntimeMBean

PersistentStoreRuntimeMBean getTransactionLogStoreRuntimeMBean()

Returns the runtime MBean for the primary TLOG persistent store, regardless of it is default store or JDBC store.

Returns:
The PersistentStoreRuntimeMBean value

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09