java.lang.Object
org.ematgine.utils.concurrent.PooledExecutor.BlockedExecutionHandler
org.ematgine.utils.concurrent.PooledExecutor.DiscardWhenBlocked
- Enclosing class:
- PooledExecutor
- protected class PooledExecutor.DiscardWhenBlocked
- extends PooledExecutor.BlockedExecutionHandler
Class defining Discard action
|
Method Summary |
protected boolean |
blockedAction(java.lang.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.DiscardWhenBlocked
protected PooledExecutor.DiscardWhenBlocked()
blockedAction
protected boolean blockedAction(java.lang.Runnable command)
- Description copied from class:
PooledExecutor.BlockedExecutionHandler
- Return true if successfully handled so, execute should terminate;
else return false if execute loop should be retried
- Specified by:
blockedAction in class PooledExecutor.BlockedExecutionHandler