protected class PooledExecutor.DiscardWhenBlocked extends java.lang.Object implements PooledExecutor.BlockedExecutionHandler
| Modifier | Constructor and Description |
|---|---|
protected |
DiscardWhenBlocked() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blockedAction(java.lang.Runnable command)
Return true if successfully handled so, execute should
terminate; else return false if execute loop should be retried.
|
public boolean blockedAction(java.lang.Runnable command)
PooledExecutor.BlockedExecutionHandlerblockedAction in interface PooledExecutor.BlockedExecutionHandler