ThreadPoolExecutor.DiscardPolicy

public static class ThreadPoolExecutor.DiscardPolicy extends Object
implements RejectedExecutionHandler

A handler for rejected tasks that silently discards the rejected task.

Public Constructor Summary

ThreadPoolExecutor.DiscardPolicy()
Creates a DiscardPolicy.

Public Method Summary

void
rejectedExecution(Runnable r, ThreadPoolExecutor e)
Does nothing, which has the effect of discarding task r.

Inherited Method Summary