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

All Superinterfaces:
javax.management.j2ee.statistics.Stats

public interface WebContainerStats
extends javax.management.j2ee.statistics.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

Version:
$Revision: 1.0$

Method Summary
 javax.management.j2ee.statistics.RangeStatistic getActiveRequestCount()
          Gets the number of requests being processed concurrently (as well as the min and max since statistics gathering started).
 javax.management.j2ee.statistics.TimeStatistic getConnectionDuration()
          Gets the legnth of time that connections have been open (includes figures across all connections open at present)
 javax.management.j2ee.statistics.RangeStatistic getConnectionRequestCount()
          Gets the number of requests handled by a particular connection (as well as the min and max since statistics gathering started).
 javax.management.j2ee.statistics.RangeStatistic getOpenConnectionCount()
          Gets the number of connections currently open (as well as the min and max since statistics gathering started).
 javax.management.j2ee.statistics.TimeStatistic getRequestDuration()
          Gets the legnth of time taken to process a request (includes figures across all requests since statistics gathering started)
 javax.management.j2ee.statistics.CountStatistic getTotalConnectionCount()
          Gets the total number of connections thus far
 javax.management.j2ee.statistics.CountStatistic getTotalErrorCount()
          Gets the number of errors that have been returned since statistics gathering started.
 javax.management.j2ee.statistics.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

public javax.management.j2ee.statistics.CountStatistic getTotalConnectionCount()
Gets the total number of connections thus far


getOpenConnectionCount

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


getConnectionRequestCount

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


getConnectionDuration

public javax.management.j2ee.statistics.TimeStatistic getConnectionDuration()
Gets the legnth of time that connections have been open (includes figures across all connections open at present)


getTotalErrorCount

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


getTotalRequestCount

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


getActiveRequestCount

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


getRequestDuration

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


isStatsOn

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



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