public static class ThreadPoolExecutor.DiscardPolicy extends Objectimplements RejectedExecutionHandler
| Constructor and Description |
|---|
DiscardPolicy()
Creates a
DiscardPolicy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(Runnable
Does nothing, which has the effect of discarding task r.
|
public void rejectedExecution(Runnabler, ThreadPoolExecutor e)
rejectedExecution in interface
RejectedExecutionHandler
r - the runnable task requested to be executed
e - the executor attempting to execute this task