Package Summary  Overview Summary

class:ThreadPoolExecutor.DiscardPolicy [NONE]

All Implemented Interfaces:
RejectedExecutionHandler
Enclosing class:
ThreadPoolExecutor

public static class ThreadPoolExecutor.DiscardPolicy
extends Object
implements RejectedExecutionHandler
A handler for rejected tasks that silently discards the rejected task.

constructor:ThreadPoolExecutor.DiscardPolicy() [NONE]

  • DiscardPolicy

    public DiscardPolicy()
    Creates a DiscardPolicy.

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

© 2021 Oracle Corporation and/or its affiliates