org.ow2.util.pool.impl.enhanced.api.basic.clue
Interface IBasicCluePool<E,C>

Type Parameters:
E - pool item type
C - clue type
All Superinterfaces:
IBasicPool<E>, ICluePool<E,C>, IPool<E>, IResizable, IResizableCluePool<E,C>, IResizablePool<E>
All Known Implementing Classes:
BasicCluePool

public interface IBasicCluePool<E,C>
extends IBasicPool<E>, IResizableCluePool<E,C>

Author:
Gael Lalire

Method Summary
 E get(C clue)
           
 E get(C clue, IWaitControl timeout)
           
 
Methods inherited from interface org.ow2.util.pool.impl.enhanced.api.basic.IBasicPool
clearPool, get, get, lockSizeToZero, unlockSizeToZero, waitAllRemoveListenerCompleted
 
Methods inherited from interface org.ow2.util.pool.impl.enhanced.api.IPool
put, remove, signalAllWaiters
 
Methods inherited from interface org.ow2.util.pool.impl.enhanced.internal.resizer.api.IResizable
setExpectedSize
 
Methods inherited from interface org.ow2.util.pool.impl.enhanced.api.IPool
put, remove, signalAllWaiters
 

Method Detail

get

E get(C clue)
      throws WaiterInterruptedException,
             PoolFactoryBroken,
             java.lang.InterruptedException
Throws:
WaiterInterruptedException
PoolFactoryBroken
java.lang.InterruptedException

get

E get(C clue,
      IWaitControl timeout)
      throws TimeoutPoolException,
             IllegalTimeoutException,
             WaiterInterruptedException,
             PoolFactoryBroken,
             java.lang.InterruptedException
Specified by:
get in interface ICluePool<E,C>
Throws:
TimeoutPoolException
IllegalTimeoutException
WaiterInterruptedException
PoolFactoryBroken
java.lang.InterruptedException


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