|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.management.stats.StatsImpl org.apache.geronimo.management.stats.WebConnectorStatsImpl
public class WebConnectorStatsImpl
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 Summary | |
---|---|
WebConnectorStatsImpl()
|
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()
Used to access the native implementation in order to call setters TODO implement these if needed by console |
CountStatistic |
getBytesReceivedCount()
|
CountStatistic |
getBytesSentCount()
|
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). |
TimeStatisticImpl |
getRequestDurationImpl()
|
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. |
CountStatisticImpl |
getTotalErrorCountImpl()
|
CountStatistic |
getTotalRequestCountImpl()
|
void |
setActiveRequestCount(int activeRequestCount)
|
void |
setBusyThreads(long current,
long highWaterMark,
long lowWaterMark,
long upperBound,
long lowerBound)
|
void |
setBytesReceivedCount(long bytesReceived)
These setters are used by native implementation |
void |
setBytesSentCount(long bytesSent)
|
void |
setErrorCount(int errorCount)
|
void |
setOpenConnection(long current,
long highMark,
long lowMark)
|
void |
setRequestTime(int count,
long minTime,
long maxTime,
long totalTime)
|
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 |
---|
public WebConnectorStatsImpl()
Method Detail |
---|
public RangeStatistic getActiveRequestCount()
WebConnectorStats
getActiveRequestCount
in interface WebConnectorStats
public TimeStatistic getRequestTime()
WebConnectorStats
getRequestTime
in interface WebConnectorStats
public CountStatistic getErrorCount()
WebConnectorStats
getErrorCount
in interface WebConnectorStats
public CountStatistic getBytesSentCount()
public CountStatistic getBytesReceivedCount()
public RangeStatistic getOpenConnectionCount()
WebConnectorStats
getOpenConnectionCount
in interface WebConnectorStats
public RangeStatistic getSpareThreadCount()
WebConnectorStats
getSpareThreadCount
in interface WebConnectorStats
public void setBytesReceivedCount(long bytesReceived)
public void setBytesSentCount(long bytesSent)
public void setActiveRequestCount(int activeRequestCount)
public void setErrorCount(int errorCount)
public void setRequestTime(int count, long minTime, long maxTime, long totalTime)
public void setOpenConnection(long current, long highMark, long lowMark)
public void setBusyThreads(long current, long highWaterMark, long lowWaterMark, long upperBound, long lowerBound)
public RangeStatisticImpl getActiveRequestCountImpl()
public TimeStatisticImpl getRequestDurationImpl()
public CountStatisticImpl getTotalErrorCountImpl()
public CountStatistic getTotalRequestCountImpl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |