org.ow2.util.pool.impl.enhanced.impl.listener.statistics
Class ExtendedPoolStatsFillerPoolListener<E>

java.lang.Object
  extended by org.ow2.util.pool.impl.enhanced.impl.listener.PoolListenerAdapter<E>
      extended by org.ow2.util.pool.impl.enhanced.impl.listener.statistics.BasicPoolStatsFillerPoolListener<E>
          extended by org.ow2.util.pool.impl.enhanced.impl.listener.statistics.ExtendedPoolStatsFillerPoolListener<E>
Type Parameters:
E - pool item type
All Implemented Interfaces:
IPoolListener<E>, IPoolStatsListener<E,BasicPoolStats>

public class ExtendedPoolStatsFillerPoolListener<E>
extends BasicPoolStatsFillerPoolListener<E>

Author:
Gael Lalire

Constructor Summary
ExtendedPoolStatsFillerPoolListener()
           
 
Method Summary
 void getMethodCalled(IWaitControl timeout)
           
 void getMethodFailed(java.lang.Exception poolException, IWaitControl timeout)
           
 void getMethodReturned(E result, IWaitControl timeout)
           
protected  void updateGetMethodDurationAverage()
           
 
Methods inherited from class org.ow2.util.pool.impl.enhanced.impl.listener.statistics.BasicPoolStatsFillerPoolListener
copyStats, getBasicPoolStats, putMethodReturned, removeMethodReturned
 
Methods inherited from class org.ow2.util.pool.impl.enhanced.impl.listener.PoolListenerAdapter
putMethodCalled, putMethodFailed, removeMethodCalled, removeMethodFailed, signalAllWaitersMethodCalled, signalAllWaitersMethodFailed, signalAllWaitersMethodReturned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.util.pool.impl.enhanced.api.listener.IPoolListener
putMethodCalled, putMethodFailed, removeMethodCalled, removeMethodFailed, signalAllWaitersMethodCalled, signalAllWaitersMethodFailed, signalAllWaitersMethodReturned
 

Constructor Detail

ExtendedPoolStatsFillerPoolListener

public ExtendedPoolStatsFillerPoolListener()
Method Detail

getMethodCalled

public void getMethodCalled(IWaitControl timeout)
Specified by:
getMethodCalled in interface IPoolListener<E>
Overrides:
getMethodCalled in class BasicPoolStatsFillerPoolListener<E>

updateGetMethodDurationAverage

protected void updateGetMethodDurationAverage()

getMethodFailed

public void getMethodFailed(java.lang.Exception poolException,
                            IWaitControl timeout)
Specified by:
getMethodFailed in interface IPoolListener<E>
Overrides:
getMethodFailed in class BasicPoolStatsFillerPoolListener<E>

getMethodReturned

public void getMethodReturned(E result,
                              IWaitControl timeout)
Specified by:
getMethodReturned in interface IPoolListener<E>
Overrides:
getMethodReturned in class BasicPoolStatsFillerPoolListener<E>


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.