com.sun.enterprise.transaction.monitoring
Class TransactionServiceStatsProvider

java.lang.Object
  extended by 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

Constructor Summary
TransactionServiceStatsProvider(JavaEETransactionManager tm, java.util.logging.Logger l)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionServiceStatsProvider

public TransactionServiceStatsProvider(JavaEETransactionManager tm,
                                       java.util.logging.Logger l)
Method Detail

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.