org.apache.geronimo.management.stats
Class WebConnectorStatsImpl

java.lang.Object
  extended by org.apache.geronimo.management.stats.StatsImpl
      extended by org.apache.geronimo.management.stats.WebConnectorStatsImpl
All Implemented Interfaces:
Serializable, Stats, WebConnectorStats
Direct Known Subclasses:
JettyWebConnectorStatsImpl

public class WebConnectorStatsImpl
extends StatsImpl
implements WebConnectorStats

Geronimo implementation of the JSR-77 style WebConnectorStats interface. This is not required by JSR-77, but provides useful statistics. This will be discovered by mejb using 'stats' attribute.

See Also:
Serialized Form

Constructor Summary
WebConnectorStatsImpl()
           
 
Method Summary
 RangeStatistic getOpenConnectionCount()
          Gets the number of connections currently open (as well as the min and max since statistics gathering started).
 RangeStatisticImpl getOpenConnectionCountImpl()
          Used to access the native implementation in order to call setters TODO implement these if needed by console
 void setOpenConnection(long current, long highMark, long lowMark)
           
 
Methods inherited from class org.apache.geronimo.management.stats.StatsImpl
addStat, getStatistic, getStatisticNames, getStatistics, removeStat, setLastSampleTime, setStartTime, 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

WebConnectorStatsImpl

public WebConnectorStatsImpl()
Method Detail

getOpenConnectionCount

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

Specified by:
getOpenConnectionCount in interface WebConnectorStats

setOpenConnection

public void setOpenConnection(long current,
                              long highMark,
                              long lowMark)

getOpenConnectionCountImpl

public RangeStatisticImpl getOpenConnectionCountImpl()
Used to access the native implementation in order to call setters TODO implement these if needed by console



Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.