edu.emory.mathcs.backport.java.util.concurrent
public static class ThreadPoolExecutor.AbortPolicy extends Object implements RejectedExecutionHandler
Constructor Summary | |
---|---|
AbortPolicy()
Creates an {@code AbortPolicy}. |
Method Summary | |
---|---|
void | rejectedExecution(Runnable r, ThreadPoolExecutor e)
Always throws RejectedExecutionException.
|
Parameters: r the runnable task requested to be executed e the executor attempting to execute this task
Throws: RejectedExecutionException always.