org.apache.geronimo.management.geronimo.stats
Interface WebConnectorStats

All Superinterfaces:
Stats
All Known Implementing Classes:
WebConnectorStatsImpl

public interface WebConnectorStats
extends Stats

Statistics exposed by a Tomcat web connector (http, https)


Method Summary
 RangeStatistic getActiveRequestCount()
          Gets the number of requests being processed concurrently (as well as the min and max since statistics gathering started).
 CountStatistic getErrorCount()
          Gets the number of errors that have been returned 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 getRequestTime()
          Gets the Time statistics (count, total, Max, Min) for requests (includes figures across all requests since statistics gathering started)
 RangeStatistic getSpareThreadCount()
          Gets the number of threads currently available (as well as min and max since statistics gathering started.
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Method Detail

getRequestTime

TimeStatistic getRequestTime()
Gets the Time statistics (count, total, Max, Min) for requests (includes figures across all requests since statistics gathering started)


getErrorCount

CountStatistic getErrorCount()
Gets the number of errors that have been returned 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).


getOpenConnectionCount

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


getSpareThreadCount

RangeStatistic getSpareThreadCount()
Gets the number of threads currently available (as well as min and max since statistics gathering started. current - The number of threads currently in the pool (currentThreadCount) - the number of threads currently serving requests (currentThreadBusy) HiMark - The maximum number of unused threads that will be allowed to exist until the thread pool starts stopping the unnecessary threads(maxSpareThread) UpperBound - The max number of threads created by the connector (maxThreads) LowerBound - The number of threads created by the connector in the begining (minSpareThread)



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