edu.emory.mathcs.backport.java.util.concurrent
public static class ThreadPoolExecutor.DiscardPolicy extends Object implements RejectedExecutionHandler
Constructor Summary | |
---|---|
DiscardPolicy()
Creates a {@code DiscardPolicy}. |
Method Summary | |
---|---|
void | rejectedExecution(Runnable r, ThreadPoolExecutor e)
Does nothing, which has the effect of discarding task r.
|
Parameters: r the runnable task requested to be executed e the executor attempting to execute this task