org.logicalcobwebs.proxool.admin
Interface StatisticsIF


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

public long getPeriod()
The length of time this sample represents,

Returns:
period (milliseconds)

getAverageActiveTime

public double getAverageActiveTime()
The average time that each connection spent active.

Returns:
averageActiveTime (milliseconds)

getAverageActiveCount

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

Returns:
averageActiveCount

getServedCount

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

Returns:
servedCount

getRefusedCount

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

Returns:
refusedCount

getStartDate

public java.util.Date getStartDate()
When this sample started.

Returns:
startDate
See Also:
getStopDate(), getPeriod()

getStopDate

public java.util.Date getStopDate()
When this sample stopped

Returns:
stopDate
See Also:
getStartDate(), getPeriod()

getServedPerSecond

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

Returns:
servedPerSecond

getRefusedPerSecond

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

Returns:
refusedPerSecond