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 RejectedExecutionHandler
r
- the runnable task requested to be executede
- the executor attempting to execute this taskaicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2019 aicas GmbH. All Rights Reserved.