Class TransactionServiceStatsProvider


  • @AMXMetadata(type="transaction-service-mon",
                 group="monitoring")
    @ManagedObject
    @Description("Transaction Service Statistics")
    public class TransactionServiceStatsProvider
    extends Object
    Collects the Transaction Service monitoring data and provides it to the callers.
    Author:
    Marina Vatkina
    • 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)