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