org.ow2.util.pool.impl.enhanced.api.listener.clue
Interface ICluePoolListener<E,C>

Type Parameters:
E - pool item type
C - clue type
All Superinterfaces:
IPoolListener<E>
All Known Subinterfaces:
ICluePoolStatsListener<E,C,S>
All Known Implementing Classes:
BasicCluePoolStatsFillerPoolListener, CluePoolListenerAdapter, PoolFactoryImpl, ResizerUpdateCluePoolListener

public interface ICluePoolListener<E,C>
extends IPoolListener<E>

Author:
Gael Lalire

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 interface org.ow2.util.pool.impl.enhanced.api.listener.IPoolListener
getMethodCalled, getMethodFailed, getMethodReturned, putMethodCalled, putMethodFailed, putMethodReturned, removeMethodCalled, removeMethodFailed, removeMethodReturned, signalAllWaitersMethodCalled, signalAllWaitersMethodFailed, signalAllWaitersMethodReturned
 

Method Detail

getMethodCalled

void getMethodCalled(C clue,
                     IWaitControl timeout)

getMethodReturned

void getMethodReturned(E result,
                       C clue,
                       IWaitControl timeout)

getMethodFailed

void getMethodFailed(PoolException poolException,
                     C clue,
                     IWaitControl timeout)


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