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