@AMXMetadata(type="transaction-service-mon", group="monitoring") @ManagedObject @Description(value="Transaction Service Statistics") public class TransactionServiceStatsProvider extends Object
Constructor and Description |
---|
TransactionServiceStatsProvider(JavaEETransactionManager tm,
Logger l) |
Modifier and Type | Method and Description |
---|---|
void |
freezeEvent(boolean b) |
org.glassfish.external.statistics.CountStatistic |
getActiveCount() |
org.glassfish.external.statistics.StringStatistic |
getActiveIds() |
org.glassfish.external.statistics.CountStatistic |
getCommittedCount() |
org.glassfish.external.statistics.CountStatistic |
getRolledbackCount() |
org.glassfish.external.statistics.StringStatistic |
getState() |
void |
transactionActivatedEvent() |
void |
transactionCommittedEvent() |
void |
transactionDeactivatedEvent() |
void |
transactionRolledbackEvent() |
public TransactionServiceStatsProvider(JavaEETransactionManager tm, Logger l)
@ManagedAttribute(id="activecount") @Description(value="Provides the number of transactions that are currently active.") public org.glassfish.external.statistics.CountStatistic getActiveCount()
@ManagedAttribute(id="committedcount") @Description(value="Provides the number of transactions that have been committed.") public org.glassfish.external.statistics.CountStatistic getCommittedCount()
@ManagedAttribute(id="rolledbackcount") @Description(value="Provides the number of transactions that have been rolled back.") public org.glassfish.external.statistics.CountStatistic getRolledbackCount()
@ManagedAttribute(id="state") @Description(value="Indicates if the transaction service has been frozen.") public org.glassfish.external.statistics.StringStatistic getState()
@ManagedAttribute(id="activeids") @Description(value="List of inflight transactions.") public org.glassfish.external.statistics.StringStatistic getActiveIds()
public void transactionActivatedEvent()
public void transactionDeactivatedEvent()
public void transactionCommittedEvent()
public void transactionRolledbackEvent()
public void freezeEvent(boolean b)
Copyright © 2020. All rights reserved.