API Overview
API Index
Package Overview
Direct link to this page
JDK 1.6
java.util.concurrent.
ThreadPoolExecutor.AbortPolicy
View Source
Author(s)
Since
Version
Serial
Hierarchy
Object
ThreadPoolExecutor.AbortPolicy
Implements
RejectedExecutionHandler
Subclasses
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
static
class ThreadPoolExecutor.AbortPolicy
A handler for rejected tasks that throws a
RejectedExecutionException
.
See also:
Constructors
public
ThreadPoolExecutor.AbortPolicy
()
Creates an
AbortPolicy
.
Methods
Hide/Show inherited methods
public
void
rejectedExecution
(
Runnable
r,
ThreadPoolExecutor
e)
[Specified in
RejectedExecutionHandler
]
Always throws RejectedExecutionException.
Always throws RejectedExecutionException.
Parameters:
-
r
- the runnable task requested to be executed
-
e
- the executor attempting to execute this task
Throws:
-
RejectedExecutionException
- always.
Fields
Hide/Show inherited fields
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar