org.apache.geronimo.jetty6
Class JettyWebContainerStatsImpl

java.lang.Object
  extended by org.apache.geronimo.management.stats.StatsImpl
      extended by org.apache.geronimo.jetty6.JettyWebContainerStatsImpl
All Implemented Interfaces:
Serializable, Stats, JettyWebContainerStats, WebContainerStats

public class JettyWebContainerStatsImpl
extends StatsImpl
implements JettyWebContainerStats

Jetty implementation of the Geronimo stats interface WebContainerStats

See Also:
Serialized Form

Constructor Summary
JettyWebContainerStatsImpl()
           
 
Method Summary
 RangeStatistic getActiveRequestCount()
          Gets the number of requests being processed concurrently (as well as the min and max since statistics gathering started).
 RangeStatisticImpl getActiveRequestCountImpl()
           
 TimeStatistic getConnectionDuration()
          Gets the legnth of time that connections have been open (includes figures across all connections open at present)
 TimeStatisticImpl getConnectionDurationImpl()
           
 RangeStatistic getConnectionRequestCount()
          Gets the number of requests handled by a particular connection (as well as the min and max since statistics gathering started).
 RangeStatisticImpl getConnectionRequestCountImpl()
           
 RangeStatistic getOpenConnectionCount()
          Gets the number of connections currently open (as well as the min and max since statistics gathering started).
 RangeStatisticImpl getOpenConnectionCountImpl()
           
 TimeStatistic getRequestDuration()
          Gets the legnth of time taken to process a request (includes figures across all requests since statistics gathering started)
 TimeStatisticImpl getRequestDurationImpl()
           
 CountStatistic getTotalConnectionCount()
          Gets the total number of connections thus far
 CountStatisticImpl getTotalConnectionCountImpl()
           
 CountStatistic getTotalErrorCount()
          Gets the number of errors that have been returned since statistics gathering started.
 CountStatisticImpl getTotalErrorCountImpl()
           
 CountStatistic getTotalRequestCount()
          Gets the number of requests that have been processed since statistics gathering started.
 CountStatisticImpl getTotalRequestCountImpl()
           
 boolean isStatsOn()
          Gets the current state of statistics collection (on or off)
 void setStatsOn(boolean on)
           
 
Methods inherited from class org.apache.geronimo.management.stats.StatsImpl
addStat, getStatistic, getStatisticNames, getStatistics, removeStat, setLastSampleTime, setStartTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.management.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
 

Constructor Detail

JettyWebContainerStatsImpl

public JettyWebContainerStatsImpl()
Method Detail

getTotalConnectionCount

public CountStatistic getTotalConnectionCount()
Description copied from interface: WebContainerStats
Gets the total number of connections thus far

Specified by:
getTotalConnectionCount in interface WebContainerStats

getOpenConnectionCount

public RangeStatistic getOpenConnectionCount()
Description copied from interface: WebContainerStats
Gets the number of connections currently open (as well as the min and max since statistics gathering started).

Specified by:
getOpenConnectionCount in interface WebContainerStats

getConnectionRequestCount

public RangeStatistic getConnectionRequestCount()
Description copied from interface: WebContainerStats
Gets the number of requests handled by a particular connection (as well as the min and max since statistics gathering started).

Specified by:
getConnectionRequestCount in interface WebContainerStats

getConnectionDuration

public TimeStatistic getConnectionDuration()
Description copied from interface: WebContainerStats
Gets the legnth of time that connections have been open (includes figures across all connections open at present)

Specified by:
getConnectionDuration in interface WebContainerStats

getTotalErrorCount

public CountStatistic getTotalErrorCount()
Description copied from interface: WebContainerStats
Gets the number of errors that have been returned since statistics gathering started.

Specified by:
getTotalErrorCount in interface WebContainerStats

getTotalRequestCount

public CountStatistic getTotalRequestCount()
Description copied from interface: WebContainerStats
Gets the number of requests that have been processed since statistics gathering started.

Specified by:
getTotalRequestCount in interface WebContainerStats

getActiveRequestCount

public RangeStatistic getActiveRequestCount()
Description copied from interface: WebContainerStats
Gets the number of requests being processed concurrently (as well as the min and max since statistics gathering started).

Specified by:
getActiveRequestCount in interface WebContainerStats

getRequestDuration

public TimeStatistic getRequestDuration()
Description copied from interface: WebContainerStats
Gets the legnth of time taken to process a request (includes figures across all requests since statistics gathering started)

Specified by:
getRequestDuration in interface WebContainerStats

isStatsOn

public boolean isStatsOn()
Description copied from interface: WebContainerStats
Gets the current state of statistics collection (on or off)

Specified by:
isStatsOn in interface WebContainerStats

setStatsOn

public void setStatsOn(boolean on)

getTotalConnectionCountImpl

public CountStatisticImpl getTotalConnectionCountImpl()

getOpenConnectionCountImpl

public RangeStatisticImpl getOpenConnectionCountImpl()

getConnectionRequestCountImpl

public RangeStatisticImpl getConnectionRequestCountImpl()

getConnectionDurationImpl

public TimeStatisticImpl getConnectionDurationImpl()

getTotalErrorCountImpl

public CountStatisticImpl getTotalErrorCountImpl()

getTotalRequestCountImpl

public CountStatisticImpl getTotalRequestCountImpl()

getActiveRequestCountImpl

public RangeStatisticImpl getActiveRequestCountImpl()

getRequestDurationImpl

public TimeStatisticImpl getRequestDurationImpl()


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