public static class ThreadPoolExecutor.AbortPolicy extends Object implements RejectedExecutionHandler
RejectedExecutionException.| Constructor and Description |
|---|
AbortPolicy()
Creates an
AbortPolicy. |
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor e)
Always throws RejectedExecutionException.
|
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 - alwaysGenerated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.