com.arjuna.ats.arjuna.coordinator
Interface TxStatsMBean

All Known Implementing Classes:
TxStats

public interface TxStatsMBean

MBean interface for monitoring transaction statistics.

Author:
Jonathan Halliday (jonathan.halliday@redhat.com)

Method Summary
 long getNumberOfAbortedTransactions()
          Returns the number of aborted (i.e.
 long getNumberOfApplicationRollbacks()
          Returns the number of transactions that have been rolled back by application request.
 long getNumberOfCommittedTransactions()
          Returns the number of committed transactions
 long getNumberOfHeuristics()
          Returns the number of transactions which have terminated with heuristic outcomes.
 long getNumberOfInflightTransactions()
          Get the number of transactions that have begun but not yet terminated.
 long getNumberOfNestedTransactions()
          Returns the total number of nested (sub) transactions created.
 long getNumberOfResourceRollbacks()
          Returns the number of transactions that rolled back due to resource (participant) failure.
 long getNumberOfTimedOutTransactions()
          Returns the number of transactions that have rolled back due to timeout.
 long getNumberOfTransactions()
          Returns the total number of transactions (top-level and nested) created
 

Method Detail

getNumberOfTransactions

long getNumberOfTransactions()
Returns the total number of transactions (top-level and nested) created

Returns:
the total number of transactions created

getNumberOfNestedTransactions

long getNumberOfNestedTransactions()
Returns the total number of nested (sub) transactions created. Note: in JTA environments will normally be 0, since JTA disallows nested tx by default.

Returns:
the total number of nested (sub) transactions created

getNumberOfHeuristics

long getNumberOfHeuristics()
Returns the number of transactions which have terminated with heuristic outcomes.

Returns:
the transactions which have terminated with heuristic outcomes

getNumberOfCommittedTransactions

long getNumberOfCommittedTransactions()
Returns the number of committed transactions

Returns:
rhe number of committed transactions

getNumberOfAbortedTransactions

long getNumberOfAbortedTransactions()
Returns the number of aborted (i.e. rolledback) transactions

Returns:
The number of rolledback transactions.

getNumberOfInflightTransactions

long getNumberOfInflightTransactions()
Get the number of transactions that have begun but not yet terminated. Note: This count is approximate, particularly in recovery situations.

Returns:
the number of transactions that have begun but not yet terminated

getNumberOfTimedOutTransactions

long getNumberOfTimedOutTransactions()
Returns the number of transactions that have rolled back due to timeout.

Returns:
the number of transactions that have rolled back due to timeout.

getNumberOfApplicationRollbacks

long getNumberOfApplicationRollbacks()
Returns the number of transactions that have been rolled back by application request. This includes those that timeout, since the timeout behaviour is considered an attribute of the application configuration.

Returns:
the number of transactions that have been rolled back by application request.

getNumberOfResourceRollbacks

long getNumberOfResourceRollbacks()
Returns the number of transactions that rolled back due to resource (participant) failure.

Returns:
the number of transactions that rolled back due to resource (participant) failure.


Copyright © 2011. All Rights Reserved.