Package Summary  Overview Summary

class:ThreadPoolExecutor.AbortPolicy [NONE]

All Implemented Interfaces:
RejectedExecutionHandler
Enclosing class:
ThreadPoolExecutor

public static class ThreadPoolExecutor.AbortPolicy
extends Object
implements RejectedExecutionHandler
A handler for rejected tasks that throws a RejectedExecutionException. This is the default handler for ThreadPoolExecutor and ScheduledThreadPoolExecutor.

constructor:ThreadPoolExecutor.AbortPolicy() [NONE]

  • AbortPolicy

    public AbortPolicy()
    Creates an AbortPolicy.

method:rejectedExecution(java.lang.Runnable,java.util.concurrent.ThreadPoolExecutor) [NONE]

© 2021 Oracle Corporation and/or its affiliates