Package EDU.oswego.cs.dl.util.concurrent
Class PooledExecutor.WaitWhenBlocked
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.PooledExecutor.WaitWhenBlocked
- All Implemented Interfaces:
PooledExecutor.BlockedExecutionHandler
- Enclosing class:
PooledExecutor
protected class PooledExecutor.WaitWhenBlocked
extends Object
implements PooledExecutor.BlockedExecutionHandler
Class defining Wait action.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
blockedAction
(Runnable command) Return true if successfully handled so, execute should terminate; else return false if execute loop should be retried.
-
Constructor Details
-
WaitWhenBlocked
protected WaitWhenBlocked()
-
-
Method Details
-
blockedAction
Description copied from interface:PooledExecutor.BlockedExecutionHandler
Return true if successfully handled so, execute should terminate; else return false if execute loop should be retried.- Specified by:
blockedAction
in interfacePooledExecutor.BlockedExecutionHandler
- Throws:
InterruptedException
-