org.logicalcobwebs.proxool.admin
Interface StatisticsListenerIF

All Known Implementing Classes:
CompositeStatisticsListener, StatisticsLogger

public interface StatisticsListenerIF

Listen for new statistics as they are produced. The frequency with which they occur is defined in the configuration.

 String alias = "myPool";
 StatisticsListenerIF myStatisticsListener = new MyStatisticsListener();
 ProxoolFacade.addStatisticsListener(alias, myStatisticsListener);
 

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
 

Method Detail

statistics

public void statistics(java.lang.String alias,
                       StatisticsIF statistics)
A new set of statistics have just been produced

Parameters:
alias - identifies the pool
statistics - new statistics