EDU.oswego.cs.dl.util.concurrent
public interface: PooledExecutor.BlockedExecutionHandler [javadoc |
source]
All Known Implementing Classes:
DiscardWhenBlocked, DiscardOldestWhenBlocked, RunWhenBlocked, AbortWhenBlocked, WaitWhenBlocked
Class for actions to take when execute() blocks. Uses Strategy
pattern to represent different actions. You can add more in
subclasses, and/or create subclasses of these. If so, you will
also want to add or modify the corresponding methods that set the
current blockedExectionHandler_.
*
Method from EDU.oswego.cs.dl.util.concurrent.PooledExecutor$BlockedExecutionHandler Summary: |
---|
blockedAction |
Method from EDU.oswego.cs.dl.util.concurrent.PooledExecutor$BlockedExecutionHandler Detail: |
public boolean blockedAction(Runnable command) throws InterruptedException
Return true if successfully handled so, execute should
terminate; else return false if execute loop should be retried.
* |