public static class ThreadPoolExecutor.DiscardPolicy extends java.lang.Object implements ThreadPoolExecutor.RejectedExecutionHandler
| Constructor and Description |
|---|
DiscardPolicy()
Creates a
DiscardPolicy. |
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(java.lang.Runnable r,
ThreadPoolExecutor e)
Does nothing, which has the effect of discarding task r.
|
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 taskCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.