org.ow2.util.pool.impl.enhanced.impl.validator.clue
Class ValidatorCluePool<E,C>

java.lang.Object
  extended by org.ow2.util.pool.impl.enhanced.impl.validator.ValidatorPool<E>
      extended by org.ow2.util.pool.impl.enhanced.impl.validator.clue.ValidatorCluePool<E,C>
Type Parameters:
E - pool item type
C - clue type
All Implemented Interfaces:
ICluePool<E,C>, IPool<E>

public class ValidatorCluePool<E,C>
extends ValidatorPool<E>
implements ICluePool<E,C>

Author:
Gael Lalire

Constructor Summary
ValidatorCluePool(ICluePool<E,C> cluePool, ICluePoolValidator<E,C> cluePoolValidator, boolean putValidate)
           
 
Method Summary
 E get(C clue, IWaitControl timeout)
           
 
Methods inherited from class org.ow2.util.pool.impl.enhanced.impl.validator.ValidatorPool
get, put, remove, signalAllWaiters, validateOneItem
 
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

ValidatorCluePool

public ValidatorCluePool(ICluePool<E,C> cluePool,
                         ICluePoolValidator<E,C> cluePoolValidator,
                         boolean putValidate)
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


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