Package org.logicalcobwebs.proxool.admin
Interface StatisticsIF
-
public interface StatisticsIFProvides statistical performance information for a period ot time.- Since:
- Proxool 0.7
- Version:
- $Revision: 1.2 $, $Date: 2003/03/03 11:11:59 $
- Author:
- bill, $Author: billhorsman $ (current maintainer)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetAverageActiveCount()The average number of active connections,doublegetAverageActiveTime()The average time that each connection spent active.longgetPeriod()The length of time this sample represents,longgetRefusedCount()The number of connections refused during this sample.doublegetRefusedPerSecond()The rate at which we have refused connectionslonggetServedCount()The number of connections served during this sample.doublegetServedPerSecond()The rate at which we have served connectionsjava.util.DategetStartDate()When this sample started.java.util.DategetStopDate()When this sample stopped
-
-
-
Method Detail
-
getPeriod
long getPeriod()
The length of time this sample represents,- Returns:
- period (milliseconds)
-
getAverageActiveTime
double getAverageActiveTime()
The average time that each connection spent active.- Returns:
- averageActiveTime (milliseconds)
-
getAverageActiveCount
double getAverageActiveCount()
The average number of active connections,- Returns:
- averageActiveCount
-
getServedCount
long getServedCount()
The number of connections served during this sample.- Returns:
- servedCount
-
getRefusedCount
long getRefusedCount()
The number of connections refused during this sample.- Returns:
- refusedCount
-
getStartDate
java.util.Date getStartDate()
When this sample started.- Returns:
- startDate
- See Also:
getStopDate(),getPeriod()
-
getStopDate
java.util.Date getStopDate()
When this sample stopped- Returns:
- stopDate
- See Also:
getStartDate(),getPeriod()
-
getServedPerSecond
double getServedPerSecond()
The rate at which we have served connections- Returns:
- servedPerSecond
-
getRefusedPerSecond
double getRefusedPerSecond()
The rate at which we have refused connections- Returns:
- refusedPerSecond
-
-