|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.util.pool.impl.enhanced.impl.keepbusy.KeepBusyPool<E>
org.ow2.util.pool.impl.enhanced.impl.keepbusy.clue.KeepBusyCluePool<E,C>
E - pool item typeC - clue type type of cluepublic class KeepBusyCluePool<E,C>
| Constructor Summary | |
|---|---|
KeepBusyCluePool(ICluePool<E,C> cluePool,
IClueManager<E,C> clueManager)
|
|
| Method Summary | |
|---|---|
E |
get(C clue,
IWaitControl timeout)
|
E |
get(IWaitControl timeout)
Because not same behavior. |
| Methods inherited from class org.ow2.util.pool.impl.enhanced.impl.keepbusy.KeepBusyPool |
|---|
expunge, getBusyPoolItemList, getCurrentWaitAuthorization, getLock, getReferenceQueue, getReferenceType, getShareMethod, getShareMethod0, put, remove, removeAll, setCurrentWaitAuthorization, setShareMethod, 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 |
|---|
put, remove, signalAllWaiters |
| Constructor Detail |
|---|
public KeepBusyCluePool(ICluePool<E,C> cluePool,
IClueManager<E,C> clueManager)
| Method Detail |
|---|
public E get(IWaitControl timeout)
throws PoolException,
java.lang.InterruptedException
get in interface IPool<E>get in class KeepBusyPool<E>timeout - if the get wait more than timeout then the method
throw a TimeoutPoolException.
PoolException - if error occurs
java.lang.InterruptedException
public E get(C clue,
IWaitControl timeout)
throws PoolException,
java.lang.InterruptedException
get in interface ICluePool<E,C>PoolException
java.lang.InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||