Name
ThreadPoolExecutor.DiscardPolicy
Synopsis
This RejectedExecutionHandler
implementation silently discards the
rejected Runnable
.
public static class ThreadPoolExecutor.DiscardPolicy implements RejectedExecutionHandler { // Public Constructors public DiscardPolicy( ); // Methods Implementing RejectedExecutionHandler public void rejectedExecution(Runnable r, ThreadPoolExecutor e); empty }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.