org.logicalcobwebs.proxool.admin
Class StatisticsListenerTest.TestListener

java.lang.Object
  extended by org.logicalcobwebs.proxool.admin.StatisticsListenerTest.TestListener
All Implemented Interfaces:
StatisticsListenerIF
Enclosing class:
StatisticsListenerTest

 class StatisticsListenerTest.TestListener
extends java.lang.Object
implements StatisticsListenerIF


Field Summary
private  boolean somethingHappened
           
private  StatisticsIF statistics
           
 
Constructor Summary
StatisticsListenerTest.TestListener()
           
 
Method Summary
(package private)  StatisticsIF getNextStatistics()
           
 StatisticsIF getStatistics()
           
(package private)  void reset()
           
 void statistics(java.lang.String alias, StatisticsIF statistics)
          A new set of statistics have just been produced
(package private)  void waitForSomethingToHappen()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

statistics

private StatisticsIF statistics

somethingHappened

private boolean somethingHappened
Constructor Detail

StatisticsListenerTest.TestListener

StatisticsListenerTest.TestListener()
Method Detail

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 pool
statistics - new statistics

reset

void reset()

getStatistics

public StatisticsIF getStatistics()

waitForSomethingToHappen

void waitForSomethingToHappen()

getNextStatistics

StatisticsIF getNextStatistics()