CompositeStatisticsListener
, StatisticsLogger
public interface StatisticsListenerIF
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);
Modifier and Type | Method | Description |
---|---|---|
void |
statistics(java.lang.String alias,
StatisticsIF statistics) |
A new set of statistics have just been produced
|
void statistics(java.lang.String alias, StatisticsIF statistics)
alias
- identifies the poolstatistics
- new statistics