Top Description Interfaces Annotations Classes
module jakarta.concurrency

Package jakarta.enterprise.concurrent


Classes and interfaces that make up the Jakarta Concurrency specification.

Interface Summary

Modifier and TypeInterface and Description
public interface
ContextService

The ContextService provides methods for creating dynamic proxy objects (as defined by java.lang.reflect.Proxy).

public interface
LastExecution

Contains information about the last execution of a task.

public interface
ManageableThread

Interface to be implemented by the Jakarta™ EE product providers on platform threads that are created by calling ManagedThreadFactory#newThread(java.lang.Runnable).

public interface
public interface
public interface
ManagedTask

A task submitted to an ManagedExecutorService or ManagedScheduledExecutorService can optionally implement this interface to provide identifying information about the task, to provide a ManagedTaskListener to get notification of lifecycle events of the task, or to provide additional execution properties.

public interface
ManagedTaskListener

A ManagedTaskListener is used to monitor the state of a task's Future.

public interface
ManagedThreadFactory

A manageable version of a ThreadFactory.

public interface
Trigger

Triggers allow application developers to plug in rules for when and how often a task should run.

public interface
ZonedTrigger

Triggers allow application developers to plug in rules for when and how often a task should run.

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Asynchronous

Annotates a CDI managed bean method to run asynchronously.

public @interface
ContextServiceDefinition

Defines a ContextService to be injected into ContextService injection points including any required Qualifier annotations specified by qualifiers() and registered in JNDI by the container under the JNDI name that is specified in the name() attribute.

public @interface
ManagedExecutorDefinition

Defines a ManagedExecutorService to be injected into ManagedExecutorService injection points including any required Qualifier annotations specified by qualifiers() and registered in JNDI by the container under the JNDI name that is specified in the name() attribute.

public @interface
ManagedScheduledExecutorDefinition

Defines a ManagedScheduledExecutorService to be injected into ManagedScheduledExecutorService injection points including any required Qualifier annotations specified by qualifiers() and registered in JNDI by the container under the JNDI name that is specified in the name() attribute.

public @interface
ManagedThreadFactoryDefinition

Defines ManagedThreadFactory instances to be injected into ManagedThreadFactory injection points including any required Qualifier annotations specified by qualifiers() and registered in JNDI by the container under the JNDI name that is specified in the name() attribute.

public @interface

Class Summary

Modifier and TypeClass and Description
public class
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.

public class
CronTrigger

Cron-based Trigger implementation, which supports 5 or 6 fields delimited by a single space character, plus a ZoneId.

public class
ManagedExecutors

Utility methods for classes defined in this package.

public class
SkippedException

Exception indicating that the result of a value-producing task cannot be retrieved because the task run was skipped.