Package jakarta.enterprise.concurrent
Classes and interfaces that make up the Jakarta Concurrency specification.
-
Interface Summary Interface Description ContextService The ContextService provides methods for creating dynamic proxy objects (as defined byjava.lang.reflect.Proxy
).LastExecution Contains information about the last execution of a task.ManageableThread Interface to be implemented by the Jakarta™ EE product providers on threads that are created by callingThreadFactory.newThread(java.lang.Runnable)
.ManagedExecutorService A manageable version of aExecutorService
.ManagedScheduledExecutorService A manageable version of aScheduledExecutorService
.ManagedTask A task submitted to anManagedExecutorService
orManagedScheduledExecutorService
can optionally implement this interface to provide identifying information about the task, to provide aManagedTaskListener
to get notification of lifecycle events of the task, or to provide additional execution properties.ManagedTaskListener A ManagedTaskListener is used to monitor the state of a task's Future.ManagedThreadFactory A manageable version of aThreadFactory
.Trigger Triggers allow application developers to plug in rules for when and how often a task should run.ZonedTrigger Triggers allow application developers to plug in rules for when and how often a task should run. -
Class Summary Class Description Asynchronous.Result Mechanism by which the Jakarta EE Product Provider makes available to the asynchronous method implementation the sameCompletableFuture
instance that the Jakarta EE Product Provider supplies to the caller of the asynchronous method.CronTrigger ManagedExecutors Utility methods for classes defined in this package. -
Exception Summary Exception Description AbortedException Exception indicating that the result of a task cannot be retrieved because the task failed to run for some reason other than being cancelled.SkippedException Exception indicating that the result of a value-producing task cannot be retrieved because the task run was skipped. -
Annotation Types Summary Annotation Type Description Asynchronous Annotates a CDI managed bean method to run asynchronously.ContextServiceDefinition Defines aContextService
to be registered in JNDI by the container under the JNDI name that is specified in theContextServiceDefinition.name()
attribute.ContextServiceDefinition.List Enables multipleContextServiceDefinition
annotations on the same type.ManagedExecutorDefinition Defines aManagedExecutorService
to be registered in JNDI by the container under the JNDI name that is specified in theManagedExecutorDefinition.name()
attribute.ManagedExecutorDefinition.List Enables multipleManagedExecutorDefinition
annotations on the same type.ManagedScheduledExecutorDefinition Defines aManagedScheduledExecutorService
to be registered in JNDI by the container under the JNDI name that is specified in theManagedScheduledExecutorDefinition.name()
attribute.ManagedScheduledExecutorDefinition.List Enables multipleManagedScheduledExecutorDefinition
annotations on the same type.ManagedThreadFactoryDefinition Defines aManagedThreadFactory
to be registered in JNDI by the container under the JNDI name that is specified in theManagedThreadFactoryDefinition.name()
attribute.ManagedThreadFactoryDefinition.List Enables multipleManagedThreadFactoryDefinition
annotations on the same type.