to.etc.dbpool.info
Class SessionStatistics

java.lang.Object
  extended by to.etc.dbpool.info.SessionStatistics

public class SessionStatistics
extends java.lang.Object

Collects statistics inside a http session, for debugging purposes. This stores most of the data for the last m_maxRequest server requests.

Author:
Frits Jalvingh Created on Nov 12, 2010

Constructor Summary
SessionStatistics(int maxRequests)
           
 
Method Summary
 void addRequestInfo(PerformanceCollector collector, InfoCollectorBase thisrequest)
          Merge the request data.
 java.util.List<SessionStatisticsEntry> getRequests()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionStatistics

public SessionStatistics(int maxRequests)
Method Detail

getRequests

public java.util.List<SessionStatisticsEntry> getRequests()

addRequestInfo

public void addRequestInfo(PerformanceCollector collector,
                           InfoCollectorBase thisrequest)
Merge the request data. After the merge all data stored is immutable and accessable by the debug page(s).

Parameters:
collector -
thisrequest -