@Description(value="Transaction manager statistics") public static final class GeronimoTransactionManagerFactory.TransactionManagerMBean extends java.lang.Object
Constructor and Description |
---|
TransactionManagerMBean(GeronimoTransactionManager transactionManager,
Duration defaultTransactionTimeout,
TransactionLog txLog) |
Modifier and Type | Method and Description |
---|---|
long |
getActive() |
long |
getCommits() |
java.lang.String |
getDefaultTransactionTimeout() |
long |
getRollbacks() |
void |
resetStatistics() |
public TransactionManagerMBean(GeronimoTransactionManager transactionManager, Duration defaultTransactionTimeout, TransactionLog txLog)
@ManagedAttribute @Description(value="Number of active transactions") public long getActive()
@ManagedAttribute @Description(value="Number of committed transactions") public long getCommits()
@ManagedAttribute @Description(value="Number of rolled back transactions") public long getRollbacks()
@ManagedOperation @Description(value="Reset statistics counters") public void resetStatistics()
@ManagedAttribute @Description(value="Display the default transaction timeout") public java.lang.String getDefaultTransactionTimeout()