EDU.oswego.cs.dl.util.concurrent
Class PooledExecutor.AbortWhenBlocked
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.PooledExecutor.AbortWhenBlocked
- All Implemented Interfaces:
- PooledExecutor.BlockedExecutionHandler
- Enclosing class:
- PooledExecutor
- protected class PooledExecutor.AbortWhenBlocked
- extends Object
- implements PooledExecutor.BlockedExecutionHandler
Class defining Abort action.
Method Summary |
boolean |
blockedAction(Runnable command)
Return true if successfully handled so, execute should
terminate; else return false if execute loop should be retried. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PooledExecutor.AbortWhenBlocked
protected PooledExecutor.AbortWhenBlocked()
blockedAction
public boolean blockedAction(Runnable command)
- 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 interface PooledExecutor.BlockedExecutionHandler