Package | Description |
---|---|
javax.enterprise.concurrent |
Classes and interfaces for concurrent programming in Java EE™ applications.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ManagedScheduledExecutorService
A manageable version of a
ScheduledExecutorService . |
Modifier and Type | Method and Description |
---|---|
void |
ManagedTaskListener.taskAborted(Future<?> future,
ManagedExecutorService executor,
Object task,
Throwable exception)
Called when a task's Future has been cancelled anytime during the life of a task.
|
void |
ManagedTaskListener.taskDone(Future<?> future,
ManagedExecutorService executor,
Object task,
Throwable exception)
Called when a submitted task has completed running, either successfully or
failed due to any exception thrown from the task, task being cancelled,
rejected, or aborted.
|
void |
ManagedTaskListener.taskStarting(Future<?> future,
ManagedExecutorService executor,
Object task)
This method is called before the task is about to start.
|
void |
ManagedTaskListener.taskSubmitted(Future<?> future,
ManagedExecutorService executor,
Object task)
Called after the task has been submitted to the Executor.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.