public static class ThreadPoolExecutor.AbortPolicy extends java.lang.Object implements ThreadPoolExecutor.RejectedExecutionHandler
RejectedExecutionException.| Constructor and Description |
|---|
AbortPolicy()
Creates an
AbortPolicy. |
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(java.lang.Runnable r,
ThreadPoolExecutor e)
Always throws RejectedExecutionException.
|
public void rejectedExecution(java.lang.Runnable r,
ThreadPoolExecutor e)
rejectedExecution in interface ThreadPoolExecutor.RejectedExecutionHandlerr - the runnable task requested to be executede - the executor attempting to execute this taskjava.util.concurrent.RejectedExecutionException - alwaysCopyright © 2000-2022 Apache Software Foundation. All Rights Reserved.