org.logicalcobwebs.proxool.admin
Class StatisticsLogger
java.lang.Object
org.logicalcobwebs.proxool.admin.StatisticsLogger
- All Implemented Interfaces:
- StatisticsListenerIF
public class StatisticsLogger
- extends java.lang.Object
- implements StatisticsListenerIF
Listens to statistics and logs them
- Since:
- Proxool 0.7
- Version:
- $Revision: 1.2 $, $Date: 2003/03/03 11:11:59 $
- Author:
- bill, $Author: billhorsman $ (current maintainer)
Method Summary |
void |
statistics(java.lang.String alias,
StatisticsIF statistics)
A new set of statistics have just been produced |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DECIMAL_FORMAT
private static final java.text.DecimalFormat DECIMAL_FORMAT
TIME_FORMAT
private static final java.text.DateFormat TIME_FORMAT
log
private Log log
logLevel
private java.lang.String logLevel
StatisticsLogger
public StatisticsLogger(Log log,
java.lang.String logLevel)
statistics
public void statistics(java.lang.String alias,
StatisticsIF statistics)
- Description copied from interface:
StatisticsListenerIF
- A new set of statistics have just been produced
- Specified by:
statistics
in interface StatisticsListenerIF
- Parameters:
alias
- identifies the poolstatistics
- new statistics