org.apache.geronimo.management.geronimo.stats
Interface TomcatWebConnectorStats

All Superinterfaces:
Stats, WebConnectorStats
All Known Implementing Classes:
TomcatWebConnectorStatsImpl

public interface TomcatWebConnectorStats
extends WebConnectorStats

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.
 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 org.apache.geronimo.management.geronimo.stats.WebConnectorStats
getOpenConnectionCount
 
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).


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-2008 The Apache Geronimo development community. All Rights Reserved.