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