Home » geronimo-2.2-source-release » org.apache.geronimo.management.geronimo.stats » [javadoc | source]
org.apache.geronimo.management.geronimo.stats
public class: TomcatWebConnectorStatsImpl [javadoc | source]
java.lang.Object
   org.apache.geronimo.management.stats.StatsImpl
      org.apache.geronimo.management.geronimo.stats.TomcatWebConnectorStatsImpl

All Implemented Interfaces:
    TomcatWebConnectorStats, javax.management.j2ee.statistics.Stats, Serializable

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.
Constructor:
 public TomcatWebConnectorStatsImpl() 
Method from org.apache.geronimo.management.geronimo.stats.TomcatWebConnectorStatsImpl Summary:
getActiveRequestCount,   getActiveRequestCountImpl,   getBytesReceivedCount,   getBytesSentCount,   getErrorCount,   getOpenConnectionCount,   getRequestDurationImpl,   getRequestTime,   getSpareThreadCount,   getTotalErrorCountImpl,   getTotalRequestCountImpl,   setActiveRequestCount,   setBusyThreads,   setBytesReceivedCount,   setBytesSentCount,   setErrorCount,   setOpenConnection,   setRequestTime
Methods from org.apache.geronimo.management.stats.StatsImpl:
addStat,   getStatistic,   getStatisticNames,   getStatistics,   removeStat,   setLastSampleTime,   setStartTime,   setStartTime
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.management.geronimo.stats.TomcatWebConnectorStatsImpl Detail:
 public RangeStatistic getActiveRequestCount() 
 public RangeStatisticImpl getActiveRequestCountImpl() 
    Used to access the native implementation in order to call setters TODO implement these if needed by console
 public CountStatistic getBytesReceivedCount() 
 public CountStatistic getBytesSentCount() 
 public CountStatistic getErrorCount() 
 public RangeStatistic getOpenConnectionCount() 
 public TimeStatisticImpl getRequestDurationImpl() 
 public TimeStatistic getRequestTime() 
 public RangeStatistic getSpareThreadCount() 
 public CountStatisticImpl getTotalErrorCountImpl() 
 public CountStatistic getTotalRequestCountImpl() 
 public  void setActiveRequestCount(int activeRequestCount) 
 public  void setBusyThreads(long current,
    long highWaterMark,
    long lowWaterMark,
    long upperBound,
    long lowerBound) 
 public  void setBytesReceivedCount(long bytesReceived) 
    These setters are used by native implementation
 public  void setBytesSentCount(long bytesSent) 
 public  void setErrorCount(int errorCount) 
 public  void setOpenConnection(long current,
    long highMark,
    long lowMark) 
 public  void setRequestTime(int count,
    long minTime,
    long maxTime,
    long totalTime)