Package jakarta.enterprise.concurrent
package jakarta.enterprise.concurrent
Classes and interfaces that make up the Jakarta Concurrency specification.
-
ClassDescriptionException indicating that the result of a task cannot be retrieved because the task failed to run for some reason other than being cancelled.Annotates a CDI managed bean method to run asynchronously.Mechanism by which the Jakarta EE Product Provider makes available to the asynchronous method implementation the same
CompletableFuture
instance that the Jakarta EE Product Provider supplies to the caller of the asynchronous method.The ContextService provides methods for creating dynamic proxy objects (as defined byjava.lang.reflect.Proxy
).Defines aContextService
to be registered in JNDI by the container under the JNDI name that is specified in theContextServiceDefinition.name()
attribute.Enables multipleContextServiceDefinition
annotations on the same type.Contains information about the last execution of a task.Interface to be implemented by the Jakarta™ EE product providers on threads that are created by callingThreadFactory.newThread(java.lang.Runnable)
.Defines aManagedExecutorService
to be registered in JNDI by the container under the JNDI name that is specified in theManagedExecutorDefinition.name()
attribute.Enables multipleManagedExecutorDefinition
annotations on the same type.Utility methods for classes defined in this package.A manageable version of aExecutorService
.Defines aManagedScheduledExecutorService
to be registered in JNDI by the container under the JNDI name that is specified in theManagedScheduledExecutorDefinition.name()
attribute.Enables multipleManagedScheduledExecutorDefinition
annotations on the same type.A manageable version of aScheduledExecutorService
.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.A ManagedTaskListener is used to monitor the state of a task's Future.A manageable version of aThreadFactory
.Defines aManagedThreadFactory
to be registered in JNDI by the container under the JNDI name that is specified in theManagedThreadFactoryDefinition.name()
attribute.Enables multipleManagedThreadFactoryDefinition
annotations on the same type.Exception indicating that the result of a value-producing task cannot be retrieved because the task run was skipped.Triggers allow application developers to plug in rules for when and how often a task should run.Triggers allow application developers to plug in rules for when and how often a task should run.