Classes and interfaces that make up the Jakarta Concurrency specification.
Interface Summary Interface Description ContextServiceThe ContextService provides methods for creating dynamic proxy objects (as defined by
LastExecutionContains information about the last execution of a task. ManageableThreadInterface to be implemented by the Jakarta™ EE product providers on threads that are created by calling
ManagedExecutorServiceA manageable version of a
ManagedScheduledExecutorServiceA manageable version of a
ManagedTaskA task submitted to an
ManagedScheduledExecutorServicecan optionally implement this interface to provide identifying information about the task, to provide a
ManagedTaskListenerto get notification of lifecycle events of the task, or to provide additional execution properties.
ManagedTaskListenerA ManagedTaskListener is used to monitor the state of a task's Future. ManagedThreadFactoryA manageable version of a
TriggerTriggers allow application developers to plug in rules for when and how often a task should run. ZonedTriggerTriggers allow application developers to plug in rules for when and how often a task should run.
Class Summary Class Description Asynchronous.ResultMechanism by which the Jakarta EE Product Provider makes available to the asynchronous method implementation the same
CompletableFutureinstance that the Jakarta EE Product Provider supplies to the caller of the asynchronous method.
CronTrigger ManagedExecutorsUtility methods for classes defined in this package.
Exception Summary Exception Description AbortedExceptionException indicating that the result of a task cannot be retrieved because the task failed to run for some reason other than being cancelled. SkippedExceptionException indicating that the result of a value-producing task cannot be retrieved because the task run was skipped.
Annotation Types Summary Annotation Type Description AsynchronousAnnotates a CDI managed bean method to run asynchronously. ContextServiceDefinitionDefines a
ContextServiceto be registered in JNDI by the container under the JNDI name that is specified in the
ContextServiceDefinitionannotations on the same type.
ManagedExecutorServiceto be registered in JNDI by the container under the JNDI name that is specified in the
ManagedExecutorDefinitionannotations on the same type.
ManagedScheduledExecutorServiceto be registered in JNDI by the container under the JNDI name that is specified in the
ManagedScheduledExecutorDefinitionannotations on the same type.
ManagedThreadFactoryto be registered in JNDI by the container under the JNDI name that is specified in the
ManagedThreadFactoryDefinitionannotations on the same type.