public static class ThreadPoolExecutor.DiscardPolicy extends Object implements RejectedExecutionHandler
| Constructor and Description |
|---|
DiscardPolicy()
Creates a
DiscardPolicy. |
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(Runnable r,
ThreadPoolExecutor e)
Does nothing, which has the effect of discarding task r.
|
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
rejectedExecution in interface RejectedExecutionHandlerr - the runnable task requested to be executede - the executor attempting to execute this taskGenerated 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.