Uses of Interface
jakarta.enterprise.concurrent.ManagedExecutorService
Package
Description
Classes and interfaces that make up the Jakarta Concurrency specification.
-
Uses of ManagedExecutorService in jakarta.enterprise.concurrent
Modifier and TypeInterfaceDescriptioninterface
A manageable version of aScheduledExecutorService
.Modifier and TypeMethodDescriptionvoid
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.