public class DiscardPolicy extends Object implements RejectedExecutionHandler
ThreadPoolExecutor.DiscardPolicy.ThreadPoolExecutor.DiscardPolicy| Constructor and Description |
|---|
DiscardPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor) |
public void rejectedExecution(Runnable runnable,
ThreadPoolExecutor threadPoolExecutor)
rejectedExecution in interface RejectedExecutionHandlerThreadPoolExecutor.DiscardPolicy.rejectedExecution(
Runnable, java.util.concurrent.ThreadPoolExecutor)