API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.concurrent. ThreadPoolExecutor.DiscardOldestPolicy View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ThreadPoolExecutor.DiscardOldestPolicy
Implements
 RejectedExecutionHandler
Subclasses
Description
publicstatic class ThreadPoolExecutor.DiscardOldestPolicy
A handler for rejected tasks that discards the oldest unhandled request and then retries execute, unless the executor is shut down, in which case the task is discarded.
See also:   
Constructors
public ThreadPoolExecutor.DiscardOldestPolicy ()
Creates a DiscardOldestPolicy for the given executor.
Methods
Hide/Show inherited methods
public void rejectedExecution (Runnable r, ThreadPoolExecutor e) [Specified in RejectedExecutionHandler]
  Obtains and ignores the next task that the executor would otherwise execute, if one is immediately available, and then retries execution of task r, unless the executor is shut down, in which case task r is instead discarded.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar