org.objectweb.speedo.workingset.lib
Class TxObserverImpl

java.lang.Object
  extended by org.objectweb.speedo.workingset.lib.WorkingSetStatistic
      extended by org.objectweb.speedo.workingset.lib.TxObserverImpl
All Implemented Interfaces:
TransactionListener, org.objectweb.util.monolog.api.Loggable

public class TxObserverImpl
extends WorkingSetStatistic


Field Summary
 
Fields inherited from class org.objectweb.speedo.workingset.lib.WorkingSetStatistic
averageWSduration, averageWSSize, committedWS, currentCtx, instance, LOG_LEVEL, logger, maxWSSize, minWSSize, nbWS
 
Constructor Summary
TxObserverImpl()
           
 
Method Summary
protected  java.lang.StringBuffer getStatistic()
           
 void transactionEnded(java.lang.Object tx, int s, java.lang.Boolean validate)
           
 
Methods inherited from class org.objectweb.speedo.workingset.lib.WorkingSetStatistic
getLogger, getLoggerFactory, init, printStatistic, printStatistic, setLogger, setLoggerFactory, transactionAborted, transactionBegun, transactionCommitted, transactionPreValidate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxObserverImpl

public TxObserverImpl()
Method Detail

transactionEnded

public void transactionEnded(java.lang.Object tx,
                             int s,
                             java.lang.Boolean validate)
Overrides:
transactionEnded in class WorkingSetStatistic

getStatistic

protected java.lang.StringBuffer getStatistic()
Overrides:
getStatistic in class WorkingSetStatistic