Class TransactionServiceStatsProvider
- java.lang.Object
-
- com.sun.enterprise.transaction.monitoring.TransactionServiceStatsProvider
-
@AMXMetadata(type="transaction-service-mon", group="monitoring") @ManagedObject @Description("Transaction Service Statistics") public class TransactionServiceStatsProvider extends ObjectCollects the Transaction Service monitoring data and provides it to the callers.- Author:
- Marina Vatkina
-
-
Constructor Summary
Constructors Constructor Description TransactionServiceStatsProvider(JavaEETransactionManager tm, Logger l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfreezeEvent(boolean b)org.glassfish.external.statistics.CountStatisticgetActiveCount()org.glassfish.external.statistics.StringStatisticgetActiveIds()org.glassfish.external.statistics.CountStatisticgetCommittedCount()org.glassfish.external.statistics.CountStatisticgetRolledbackCount()org.glassfish.external.statistics.StringStatisticgetState()voidtransactionActivatedEvent()voidtransactionCommittedEvent()voidtransactionDeactivatedEvent()voidtransactionRolledbackEvent()
-
-
-
Constructor Detail
-
TransactionServiceStatsProvider
public TransactionServiceStatsProvider(JavaEETransactionManager tm, Logger l)
-
-
Method Detail
-
getActiveCount
@ManagedAttribute(id="activecount") @Description("Provides the number of transactions that are currently active.") public org.glassfish.external.statistics.CountStatistic getActiveCount()
-
getCommittedCount
@ManagedAttribute(id="committedcount") @Description("Provides the number of transactions that have been committed.") public org.glassfish.external.statistics.CountStatistic getCommittedCount()
-
getRolledbackCount
@ManagedAttribute(id="rolledbackcount") @Description("Provides the number of transactions that have been rolled back.") public org.glassfish.external.statistics.CountStatistic getRolledbackCount()
-
getState
@ManagedAttribute(id="state") @Description("Indicates if the transaction service has been frozen.") public org.glassfish.external.statistics.StringStatistic getState()
-
getActiveIds
@ManagedAttribute(id="activeids") @Description("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)
-
-