com.sun.enterprise.transaction.monitoring
Class TransactionServiceStatsProvider
java.lang.Object
com.sun.enterprise.transaction.monitoring.TransactionServiceStatsProvider
@AMXMetadata(type="transaction-service-mon",
group="monitoring")
@ManagedObject
@Description(value="Transaction Service Statistics")
public class TransactionServiceStatsProvider- extends java.lang.Object
Collects the Transaction Service monitoring data and provides it to the callers.
- Author:
- Marina Vatkina
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionServiceStatsProvider
public TransactionServiceStatsProvider(JavaEETransactionManager tm,
java.util.logging.Logger l)
getActiveCount
@ManagedAttribute(id="activecount")
@Description(value="Provides the number of transactions that are currently active.")
public org.glassfish.external.statistics.CountStatistic getActiveCount()
getCommittedCount
@ManagedAttribute(id="committedcount")
@Description(value="Provides the number of transactions that have been committed.")
public org.glassfish.external.statistics.CountStatistic getCommittedCount()
getRolledbackCount
@ManagedAttribute(id="rolledbackcount")
@Description(value="Provides the number of transactions that have been rolled back.")
public org.glassfish.external.statistics.CountStatistic getRolledbackCount()
getState
@ManagedAttribute(id="state")
@Description(value="Indicates if the transaction service has been frozen.")
public org.glassfish.external.statistics.StringStatistic getState()
getActiveIds
@ManagedAttribute(id="activeids")
@Description(value="List of inflight transactions.")
public org.glassfish.external.statistics.StringStatistic getActiveIds()
transactionActivatedEvent
public void transactionActivatedEvent()
transactionDeactivatedEvent
public void transactionDeactivatedEvent()
transactionCommittedEvent
public void transactionCommittedEvent()
transactionRolledbackEvent
public void transactionRolledbackEvent()
freezeEvent
public void freezeEvent(boolean b)
Copyright © 2012 GlassFish Community. All Rights Reserved.