Java In A Nutshell, 5th Edition

ThreadPoolExecutor.DiscardPolicy java.util.concurrent

Java 5.0

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 }

Категории