Module jakarta.concurrency
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
CompletableFutureinstance 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 aContextServiceto be injected intoContextServiceinjection points including any requiredQualifierannotations specified byContextServiceDefinition.qualifiers()and registered in JNDI by the container under the JNDI name that is specified in theContextServiceDefinition.name()attribute.Enables multipleContextServiceDefinitionannotations on the same type.Contains information about the last execution of a task.Interface to be implemented by the Jakarta™ EE product providers on platform threads that are created by callingThreadFactory.newThread(java.lang.Runnable).Defines aManagedExecutorServiceto be injected intoManagedExecutorServiceinjection points including any requiredQualifierannotations specified byManagedExecutorDefinition.qualifiers()and registered in JNDI by the container under the JNDI name that is specified in theManagedExecutorDefinition.name()attribute.Enables multipleManagedExecutorDefinitionannotations on the same type.Utility methods for classes defined in this package.A manageable version of aExecutorService.Defines aManagedScheduledExecutorServiceto be injected intoManagedScheduledExecutorServiceinjection points including any requiredQualifierannotations specified byManagedScheduledExecutorDefinition.qualifiers()and registered in JNDI by the container under the JNDI name that is specified in theManagedScheduledExecutorDefinition.name()attribute.Enables multipleManagedScheduledExecutorDefinitionannotations on the same type.A manageable version of aScheduledExecutorService.A task submitted to anManagedExecutorServiceorManagedScheduledExecutorServicecan optionally implement this interface to provide identifying information about the task, to provide aManagedTaskListenerto 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.DefinesManagedThreadFactoryinstances to be injected intoManagedThreadFactoryinjection points including any requiredQualifierannotations specified byManagedThreadFactoryDefinition.qualifiers()and registered in JNDI by the container under the JNDI name that is specified in theManagedThreadFactoryDefinition.name()attribute.Enables multipleManagedThreadFactoryDefinitionannotations on the same type.Defines schedules forscheduled asynchronous methods.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.