public static class ThreadPoolExecutor.AbortPolicy extends Object implements RejectedExecutionHandler
RejectedExecutionException.| Constructor and Description |
|---|
ThreadPoolExecutor.AbortPolicy()
Creates an
AbortPolicy. |
public ThreadPoolExecutor.AbortPolicy()
AbortPolicy.public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
rejectedExecution in interface RejectedExecutionHandlerr - the runnable task requested to be executede - the executor attempting to execute this taskRejectedExecutionException - always.