org.apache.geronimo.management.geronimo.stats
Interface WebContainerStats

All Superinterfaces:
Stats
All Known Subinterfaces:
JettyWebContainerStats
All Known Implementing Classes:
JettyWebContainerStatsImpl

public interface WebContainerStats
extends Stats

Statistics exposed by a web container (for the container as a whole, not a particular servlet/JSP/URL). todo: confirm the definitions of the Jetty stats included here; verify these are valid for Tomcat as well


Method Summary
 RangeStatistic getActiveRequestCount()
          Gets the number of requests being processed concurrently (as well as the min and max since statistics gathering started).
 TimeStatistic getConnectionDuration()
          Gets the legnth of time that connections have been open (includes figures across all connections open at present)
 RangeStatistic getConnectionRequestCount()
          Gets the number of requests handled by a particular connection (as well as the min and max since statistics gathering started).
 RangeStatistic getOpenConnectionCount()
          Gets the number of connections currently open (as well as the min and max since statistics gathering started).
 TimeStatistic getRequestDuration()
          Gets the legnth of time taken to process a request (includes figures across all requests since statistics gathering started)
 CountStatistic getTotalConnectionCount()
          Gets the total number of connections thus far
 CountStatistic getTotalErrorCount()
          Gets the number of errors that have been returned since statistics gathering started.
 CountStatistic getTotalRequestCount()
          Gets the number of requests that have been processed since statistics gathering started.
 boolean isStatsOn()
          Gets the current state of statistics collection (on or off)
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getTotalConnectionCount

CountStatistic getTotalConnectionCount()
Gets the total number of connections thus far


getOpenConnectionCount

RangeStatistic getOpenConnectionCount()
Gets the number of connections currently open (as well as the min and max since statistics gathering started).


getConnectionRequestCount

RangeStatistic getConnectionRequestCount()
Gets the number of requests handled by a particular connection (as well as the min and max since statistics gathering started).


getConnectionDuration

TimeStatistic getConnectionDuration()
Gets the legnth of time that connections have been open (includes figures across all connections open at present)


getTotalErrorCount

CountStatistic getTotalErrorCount()
Gets the number of errors that have been returned since statistics gathering started.


getTotalRequestCount

CountStatistic getTotalRequestCount()
Gets the number of requests that have been processed since statistics gathering started.


getActiveRequestCount

RangeStatistic getActiveRequestCount()
Gets the number of requests being processed concurrently (as well as the min and max since statistics gathering started).


getRequestDuration

TimeStatistic getRequestDuration()
Gets the legnth of time taken to process a request (includes figures across all requests since statistics gathering started)


isStatsOn

boolean isStatsOn()
Gets the current state of statistics collection (on or off)



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.