protected class PooledExecutor.AbortWhenBlocked extends java.lang.Object implements PooledExecutor.BlockedExecutionHandler
Modifier | Constructor and Description |
---|---|
protected |
AbortWhenBlocked() |
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.BlockedExecutionHandler
blockedAction
in interface PooledExecutor.BlockedExecutionHandler