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