|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.logicalcobwebs.proxool.util.AbstractListenerContainer
org.logicalcobwebs.proxool.admin.CompositeStatisticsListener
public class CompositeStatisticsListener
A StatisticsListenerIF that keeps a list of StatisticsListenerIFs
and notifies them in a thread safe manner.
It also implements ListenerContainerIF
which provides methods for
adding and
removing listeners.
| Field Summary | |
|---|---|
(package private) static Log |
LOG
|
| Constructor Summary | |
|---|---|
CompositeStatisticsListener()
|
|
| Method Summary | |
|---|---|
void |
statistics(java.lang.String alias,
StatisticsIF statistics)
A new set of statistics have just been produced |
| Methods inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer |
|---|
addListener, getListeners, isEmpty, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final Log LOG
| Constructor Detail |
|---|
public CompositeStatisticsListener()
| Method Detail |
|---|
public void statistics(java.lang.String alias,
StatisticsIF statistics)
StatisticsListenerIF
statistics in interface StatisticsListenerIFalias - identifies the poolstatistics - new statisticsStatisticsListenerIF.statistics(String, StatisticsIF)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||