to.etc.dbpool.info
Class PerformanceCollector

java.lang.Object
  extended by to.etc.dbpool.info.PerformanceStore
      extended by to.etc.dbpool.info.PerformanceCollector
All Implemented Interfaces:
IPerformanceCollector

public class PerformanceCollector
extends PerformanceStore
implements IPerformanceCollector


Constructor Summary
PerformanceCollector()
           
 
Method Summary
 void postExecuteDuration(java.lang.String request, StatementProxy sp, long dt, StmtType type, InfoCollectorExpenseBased.StmtCount sc)
           
 void saveCounters(java.lang.String request, java.util.List<InfoCollectorExpenseBased.StmtCount> counterList)
          Save the max executed statements.
 
Methods inherited from class to.etc.dbpool.info.PerformanceStore
addItem, addItem, clear, define, getItems, getList, getLists, merge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceCollector

public PerformanceCollector()
Method Detail

postExecuteDuration

public void postExecuteDuration(java.lang.String request,
                                StatementProxy sp,
                                long dt,
                                StmtType type,
                                InfoCollectorExpenseBased.StmtCount sc)
Specified by:
postExecuteDuration in interface IPerformanceCollector
See Also:
to.etc.dbpool.info.IPerformanceCollector#postExecuteDuration(to.etc.dbpool.StatementProxy, long, to.etc.dbpool.StmtType)

saveCounters

public void saveCounters(java.lang.String request,
                         java.util.List<InfoCollectorExpenseBased.StmtCount> counterList)
Save the max executed statements.

Specified by:
saveCounters in interface IPerformanceCollector
Parameters:
counterList -