org.logicalcobwebs.proxool.admin

Interface StatisticsIF

public interface StatisticsIF

Provides statistical performance information for a period ot time.
Version:
$Revision: 1.2 $, $Date: 2003/03/03 11:11:59 $
Authors:
bill
$Author: billhorsman $ (current maintainer)
Since:
Proxool 0.7

Method Summary

double
getAverageActiveCount()
The average number of active connections,
double
getAverageActiveTime()
The average time that each connection spent active.
long
getPeriod()
The length of time this sample represents,
long
getRefusedCount()
The number of connections refused during this sample.
double
getRefusedPerSecond()
The rate at which we have refused connections
long
getServedCount()
The number of connections served during this sample.
double
getServedPerSecond()
The rate at which we have served connections
Date
getStartDate()
When this sample started.
Date
getStopDate()
When this sample stopped

Method Details

getAverageActiveCount

public double getAverageActiveCount()
The average number of active connections,
Returns:
averageActiveCount

getAverageActiveTime

public double getAverageActiveTime()
The average time that each connection spent active.
Returns:
averageActiveTime (milliseconds)

getPeriod

public long getPeriod()
The length of time this sample represents,
Returns:
period (milliseconds)

getRefusedCount

public long getRefusedCount()
The number of connections refused during this sample.
Returns:
refusedCount

getRefusedPerSecond

public double getRefusedPerSecond()
The rate at which we have refused connections
Returns:
refusedPerSecond

getServedCount

public long getServedCount()
The number of connections served during this sample.
Returns:
servedCount

getServedPerSecond

public double getServedPerSecond()
The rate at which we have served connections
Returns:
servedPerSecond

getStartDate

public Date getStartDate()
When this sample started.
Returns:
startDate

getStopDate

public Date getStopDate()
When this sample stopped
Returns:
stopDate