org.ow2.util.pool.impl.enhanced.impl.listener.statistics.clue
Class BasicCluePoolStatsFillerPoolListener<E,C>

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.clue.BasicCluePoolStatsFillerPoolListener<E,C>
Type Parameters:
E - pool item type
C - clue type
All Implemented Interfaces:
ICluePoolListener<E,C>, IPoolListener<E>, ICluePoolStatsListener<E,C,BasicPoolStats>, IPoolStatsListener<E,BasicPoolStats>

public class BasicCluePoolStatsFillerPoolListener<E,C>
extends BasicPoolStatsFillerPoolListener<E>
implements ICluePoolStatsListener<E,C,BasicPoolStats>

Author:
Gael Lalire

Constructor Summary
BasicCluePoolStatsFillerPoolListener()
           
BasicCluePoolStatsFillerPoolListener(boolean countPutAsSentBack)
          Deprecated. 
 
Method Summary
 void getMethodCalled(C clue, IWaitControl timeout)
           
 void getMethodFailed(PoolException poolException, C clue, IWaitControl timeout)
           
 void getMethodReturned(E result, C clue, IWaitControl timeout)
           
 
Methods inherited from class org.ow2.util.pool.impl.enhanced.impl.listener.statistics.BasicPoolStatsFillerPoolListener
copyStats, getBasicPoolStats, getMethodCalled, getMethodFailed, getMethodReturned, 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.statistics.clue.ICluePoolStatsListener
copyStats
 
Methods inherited from interface org.ow2.util.pool.impl.enhanced.api.listener.IPoolListener
getMethodCalled, getMethodFailed, getMethodReturned, putMethodCalled, putMethodFailed, putMethodReturned, removeMethodCalled, removeMethodFailed, removeMethodReturned, signalAllWaitersMethodCalled, signalAllWaitersMethodFailed, signalAllWaitersMethodReturned
 
Methods inherited from interface org.ow2.util.pool.impl.enhanced.api.listener.IPoolListener
getMethodCalled, getMethodFailed, getMethodReturned, putMethodCalled, putMethodFailed, putMethodReturned, removeMethodCalled, removeMethodFailed, removeMethodReturned, signalAllWaitersMethodCalled, signalAllWaitersMethodFailed, signalAllWaitersMethodReturned
 

Constructor Detail

BasicCluePoolStatsFillerPoolListener

public BasicCluePoolStatsFillerPoolListener()

BasicCluePoolStatsFillerPoolListener

@Deprecated
public BasicCluePoolStatsFillerPoolListener(boolean countPutAsSentBack)
Deprecated. 

Hack to allow not resetable clue (the clue manager should be review to manage it).

Method Detail

getMethodCalled

public void getMethodCalled(C clue,
                            IWaitControl timeout)
Specified by:
getMethodCalled in interface ICluePoolListener<E,C>

getMethodFailed

public void getMethodFailed(PoolException poolException,
                            C clue,
                            IWaitControl timeout)
Specified by:
getMethodFailed in interface ICluePoolListener<E,C>

getMethodReturned

public void getMethodReturned(E result,
                              C clue,
                              IWaitControl timeout)
Specified by:
getMethodReturned in interface ICluePoolListener<E,C>


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