org.logicalcobwebs.proxool.admin
Interface StatisticsIF

All Known Implementing Classes:
Statistics

public interface StatisticsIF

Provides 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
 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
 java.util.Date getStartDate()
          When this sample started.
 java.util.Date getStopDate()
          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