Package javax.enterprise.concurrent
Classes and interfaces for concurrent programming in Java EE™ applications.
-
Interface Summary Interface Description ContextService The ContextService provides methods for creating dynamic proxy objects (as defined byjava.lang.reflect.Proxy
) with the addition of context typically associated with applications executing in a Java™ EE environment.LastExecution Contains information about the last execution of a task.ManageableThread Interface to be implemented by the Java™ 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. -
Class Summary Class Description 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.