Module jakarta.concurrency
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 platform 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 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.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 sameCompletableFutureinstance that the Jakarta EE Product Provider supplies to the caller of the asynchronous method.CronTrigger Cron-basedTriggerimplementation, which supports 5 or 6 fields delimited by a single space character, plus aZoneId.ManagedExecutors Utility methods for classes defined in this package.ManagedExecutors.Adapter ManagedExecutors.CallableAdapter<V> Adapter for Callable to include ManagedTask interface methods.ManagedExecutors.RunnableAdapter Adapter for Runnable to include ManagedTask interface methods. -
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 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.ContextServiceDefinition.List Enables multipleContextServiceDefinitionannotations on the same type.ManagedExecutorDefinition 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.ManagedExecutorDefinition.List Enables multipleManagedExecutorDefinitionannotations on the same type.ManagedScheduledExecutorDefinition 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.ManagedScheduledExecutorDefinition.List Enables multipleManagedScheduledExecutorDefinitionannotations on the same type.ManagedThreadFactoryDefinition 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.ManagedThreadFactoryDefinition.List Enables multipleManagedThreadFactoryDefinitionannotations on the same type.Schedule Defines schedules forscheduled asynchronous methods.