Uses of Interface
jakarta.enterprise.concurrent.ManagedExecutorService
-
Packages that use ManagedExecutorService Package Description jakarta.enterprise.concurrent Classes and interfaces that make up the Jakarta Concurrency specification. -
-
Uses of ManagedExecutorService in jakarta.enterprise.concurrent
Subinterfaces of ManagedExecutorService in jakarta.enterprise.concurrent Modifier and Type Interface Description interface
ManagedScheduledExecutorService
A manageable version of aScheduledExecutorService
.Methods in jakarta.enterprise.concurrent with parameters of type ManagedExecutorService Modifier and Type Method 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.
-