1 *java.util.concurrent.ThreadPoolExecutor.DiscardPolicy* *ThreadPoolExecutor.DiscardPolicy*
3 public static class ThreadPoolExecutor.DiscardPolicy
4 extends |java.lang.Object|
5 implements |java.util.concurrent.RejectedExecutionHandler|
7 |java.util.concurrent.ThreadPoolExecutor.DiscardPolicy_Description|
8 |java.util.concurrent.ThreadPoolExecutor.DiscardPolicy_Fields|
9 |java.util.concurrent.ThreadPoolExecutor.DiscardPolicy_Constructors|
10 |java.util.concurrent.ThreadPoolExecutor.DiscardPolicy_Methods|
12 ================================================================================
14 *java.util.concurrent.ThreadPoolExecutor.DiscardPolicy_Constructors*
15 |java.util.concurrent.ThreadPoolExecutor.DiscardPolicy()|Creates a DiscardPolic
17 *java.util.concurrent.ThreadPoolExecutor.DiscardPolicy_Methods*
18 |java.util.concurrent.ThreadPoolExecutor.DiscardPolicy.rejectedExecution(Runnable,ThreadPoolExecutor)|
20 *java.util.concurrent.ThreadPoolExecutor.DiscardPolicy_Description*
22 A handler for rejected tasks that silently discards the rejected task.
26 *java.util.concurrent.ThreadPoolExecutor.DiscardPolicy()*
28 public ThreadPoolExecutor.DiscardPolicy()
30 Creates a DiscardPolicy.
33 *java.util.concurrent.ThreadPoolExecutor.DiscardPolicy.rejectedExecution(Runnable,ThreadPoolExecutor)*
35 public void rejectedExecution(
37 java.util.concurrent.ThreadPoolExecutor e)
39 Does nothing, which has the effect of discarding task r.
42 r - the runnable task requested to be executed
43 e - the executor attempting to execute this task