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