No cache version.
Caching disabled. Default setting for this page:enabled (code LNG204)If the display is too slow, you can disable the user mode to view the cached version.
- java.lang.Object
-
- java.util.concurrent.ThreadPoolExecutor.DiscardPolicy
-
- 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 Summary
Constructors Constructor and Description ThreadPoolExecutor.DiscardPolicy()
Creates aDiscardPolicy
.
-
Method Summary
Methods Modifier and Type Method and Description void
rejectedExecution(Runnable r, ThreadPoolExecutor e)
Does nothing, which has the effect of discarding task r.
-
-
-
Constructor Detail
-
ThreadPoolExecutor.DiscardPolicy
public ThreadPoolExecutor.DiscardPolicy()
Creates aDiscardPolicy
.
-
-
Method Detail
-
rejectedExecution
public void rejectedExecution(Runnable r, ThreadPoolExecutor e)
Does nothing, which has the effect of discarding task r.- Specified by:
rejectedExecution
in interfaceRejectedExecutionHandler
- Parameters:
r
- the runnable task requested to be executede
- the executor attempting to execute this task
-
-
Can not display this page of the Infobrol website
Type of error (18-01)
Unknown format specifier "&"Please try again in a few minutes…
Steph