Module java.base

Class ThreadPoolExecutor.AbortPolicy

java.lang.Object
java.util.concurrent.ThreadPoolExecutor.AbortPolicy
所有已实现的接口:
RejectedExecutionHandler
封闭类:
ThreadPoolExecutor

public static class ThreadPoolExecutor.AbortPolicy extends Object implements RejectedExecutionHandler
一个处理被拒绝任务的处理程序,会抛出一个RejectedExecutionException。这是ThreadPoolExecutorScheduledThreadPoolExecutor的默认处理程序。