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

java.lang.Object
  extended by org.ow2.util.pool.impl.enhanced.impl.listener.PoolListenerDispatcherPool<E>
      extended by org.ow2.util.pool.impl.enhanced.impl.listener.clue.CluePoolListenerDispatcherPool<E,C>
Type Parameters:
E - pool item type
C - clue type
All Implemented Interfaces:
ICluePool<E,C>, IPool<E>
Direct Known Subclasses:
StatsResizerCluePool

public class CluePoolListenerDispatcherPool<E,C>
extends PoolListenerDispatcherPool<E>
implements ICluePool<E,C>

Author:
Gael Lalire

Constructor Summary
CluePoolListenerDispatcherPool(ICluePool<E,C> cluePool)
           
 
Method Summary
 void addCluePoolListener(ICluePoolListener<E,C> poolListener)
           
 E get(C clue, IWaitControl timeout)
           
 void removeCluePoolListener(ICluePoolListener<E,C> poolListener)
           
 
Methods inherited from class org.ow2.util.pool.impl.enhanced.impl.listener.PoolListenerDispatcherPool
addPoolListener, get, put, remove, removePoolListener, signalAllWaiters
 
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.IPool
get, put, remove, signalAllWaiters
 

Constructor Detail

CluePoolListenerDispatcherPool

public CluePoolListenerDispatcherPool(ICluePool<E,C> cluePool)
Method Detail

get

public E get(C clue,
             IWaitControl timeout)
      throws PoolException,
             java.lang.InterruptedException
Specified by:
get in interface ICluePool<E,C>
Throws:
PoolException
java.lang.InterruptedException

addCluePoolListener

public void addCluePoolListener(ICluePoolListener<E,C> poolListener)

removeCluePoolListener

public void removeCluePoolListener(ICluePoolListener<E,C> poolListener)


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