Skip navigation links

Jakarta Concurrency API v2.0.0
A C G I J L M S T U 

A

AbortedException - Exception in jakarta.enterprise.concurrent
Exception indicating that the result of a task cannot be retrieved because the task failed to run for some reason other than being cancelled.
AbortedException() - Constructor for exception jakarta.enterprise.concurrent.AbortedException
Constructs an AbortedException with null as its detail message.
AbortedException(String, Throwable) - Constructor for exception jakarta.enterprise.concurrent.AbortedException
Constructs an AbortedException exception with the specified detail message and cause.
AbortedException(String) - Constructor for exception jakarta.enterprise.concurrent.AbortedException
Constructs an AbortedException exception with the specified detail message.
AbortedException(Throwable) - Constructor for exception jakarta.enterprise.concurrent.AbortedException
Constructs an AbortedException exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

C

ContextService - Interface in jakarta.enterprise.concurrent
The ContextService provides methods for creating dynamic proxy objects (as defined by java.lang.reflect.Proxy) with the addition of context typically associated with applications executing in a Jakarta™ EE environment.
createContextualProxy(T, Class<T>) - Method in interface jakarta.enterprise.concurrent.ContextService
Creates a new contextual object proxy for the input object instance.
createContextualProxy(Object, Class<?>...) - Method in interface jakarta.enterprise.concurrent.ContextService
Creates a new contextual object proxy for the input object instance.
createContextualProxy(T, Map<String, String>, Class<T>) - Method in interface jakarta.enterprise.concurrent.ContextService
Creates a new contextual object proxy for the input object instance.
createContextualProxy(Object, Map<String, String>, Class<?>...) - Method in interface jakarta.enterprise.concurrent.ContextService
Creates a new contextual object proxy for the input object instance.

G

getExecutionProperties(Object) - Method in interface jakarta.enterprise.concurrent.ContextService
Gets the current execution properties on the context proxy instance.
getExecutionProperties() - Method in interface jakarta.enterprise.concurrent.ManagedTask
Provides additional information to the ManagedExecutorService or ManagedScheduledExecutorService when executing this task.
getIdentityName() - Method in interface jakarta.enterprise.concurrent.LastExecution
The name or ID of the identifiable object, as specified in the ManagedTask.IDENTITY_NAME execution property of the task if it also implements the ManagedTask interface.
getManagedTaskListener() - Method in interface jakarta.enterprise.concurrent.ManagedTask
The ManagedTaskListener to receive notification of lifecycle events of this task.
getNextRunTime(LastExecution, Date) - Method in interface jakarta.enterprise.concurrent.Trigger
Retrieve the next time that the task should run after.
getResult() - Method in interface jakarta.enterprise.concurrent.LastExecution
Result of the last execution.
getRunEnd() - Method in interface jakarta.enterprise.concurrent.LastExecution
The last time in which the task was completed.
getRunStart() - Method in interface jakarta.enterprise.concurrent.LastExecution
The last time in which the task started running.
getScheduledStart() - Method in interface jakarta.enterprise.concurrent.LastExecution
The last time in which task was scheduled to run.

I

IDENTITY_NAME - Static variable in interface jakarta.enterprise.concurrent.ManagedTask
Execution property to be returned in ManagedTask.getExecutionProperties() or ContextService.createContextualProxy() to provide a String that identifies the task.
isCurrentThreadShutdown() - Static method in class jakarta.enterprise.concurrent.ManagedExecutors
Utility method for checking the isShutdown() value of the current thread if it is a ManageableThread created from ManagedThreadFactory.newThread() .
isShutdown() - Method in interface jakarta.enterprise.concurrent.ManageableThread
This method is used by the application component provider to check whether a thread created by the newThread method of ManagedThreadFactory has been marked for shut down.

J

jakarta.enterprise.concurrent - package jakarta.enterprise.concurrent
Classes and interfaces that make up the Jakarta Concurrency specification.

L

LastExecution - Interface in jakarta.enterprise.concurrent
Contains information about the last execution of a task.
LONGRUNNING_HINT - Static variable in interface jakarta.enterprise.concurrent.ManagedTask
Execution property to be returned in ManagedTask.getExecutionProperties() or ContextService.createContextualProxy() to provide hint about whether the task could take a long time to complete.

M

ManageableThread - Interface in jakarta.enterprise.concurrent
Interface to be implemented by the Jakarta™ EE product providers on threads that are created by calling ThreadFactory.newThread(java.lang.Runnable).
ManagedExecutors - Class in jakarta.enterprise.concurrent
Utility methods for classes defined in this package.
ManagedExecutorService - Interface in jakarta.enterprise.concurrent
A manageable version of a ExecutorService.
ManagedScheduledExecutorService - Interface in jakarta.enterprise.concurrent
A manageable version of a ScheduledExecutorService.
managedTask(Runnable, ManagedTaskListener) - Static method in class jakarta.enterprise.concurrent.ManagedExecutors
Returns a Runnable object that also implements ManagedTask interface so it can receive notification of lifecycle events with the provided ManagedTaskListener when the task is submitted to a ManagedExecutorService or a ManagedScheduledExecutorService.
managedTask(Runnable, Map<String, String>, ManagedTaskListener) - Static method in class jakarta.enterprise.concurrent.ManagedExecutors
Returns a Runnable object that also implements ManagedTask interface so it can receive notification of lifecycle events with the provided ManagedTaskListener and to provide additional execution properties when the task is submitted to a ManagedExecutorService or a ManagedScheduledExecutorService.
managedTask(Callable<V>, ManagedTaskListener) - Static method in class jakarta.enterprise.concurrent.ManagedExecutors
Returns a Callable object that also implements ManagedTask interface so it can receive notification of lifecycle events with the provided ManagedTaskListener when the task is submitted to a ManagedExecutorService or a ManagedScheduledExecutorService.
managedTask(Callable<V>, Map<String, String>, ManagedTaskListener) - Static method in class jakarta.enterprise.concurrent.ManagedExecutors
Returns a Callable object that also implements ManagedTask interface so it can receive notification of lifecycle events with the provided ManagedTaskListener and to provide additional execution properties when the task is submitted to a ManagedExecutorService or a ManagedScheduledExecutorService.
ManagedTask - Interface in jakarta.enterprise.concurrent
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.
ManagedTaskListener - Interface in jakarta.enterprise.concurrent
A ManagedTaskListener is used to monitor the state of a task's Future.
ManagedThreadFactory - Interface in jakarta.enterprise.concurrent
A manageable version of a ThreadFactory.

S

schedule(Runnable, Trigger) - Method in interface jakarta.enterprise.concurrent.ManagedScheduledExecutorService
Creates and executes a task based on a Trigger.
schedule(Callable<V>, Trigger) - Method in interface jakarta.enterprise.concurrent.ManagedScheduledExecutorService
Creates and executes a task based on a Trigger.
SkippedException - Exception in jakarta.enterprise.concurrent
Exception indicating that the result of a value-producing task cannot be retrieved because the task run was skipped.
SkippedException() - Constructor for exception jakarta.enterprise.concurrent.SkippedException
Constructs an SkippedException with null as its detail message.
SkippedException(String) - Constructor for exception jakarta.enterprise.concurrent.SkippedException
Constructs an SkippedException exception with the specified detail message.
SkippedException(String, Throwable) - Constructor for exception jakarta.enterprise.concurrent.SkippedException
Constructs an SkippedException exception with the specified detail message and cause.
SkippedException(Throwable) - Constructor for exception jakarta.enterprise.concurrent.SkippedException
Constructs an SkippedException exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
skipRun(LastExecution, Date) - Method in interface jakarta.enterprise.concurrent.Trigger
Return true if this run instance should be skipped.
SUSPEND - Static variable in interface jakarta.enterprise.concurrent.ManagedTask
Constant for the "SUSPEND" value of the TRANSACTION execution property.

T

taskAborted(Future<?>, ManagedExecutorService, Object, Throwable) - Method in interface jakarta.enterprise.concurrent.ManagedTaskListener
Called when a task's Future has been cancelled anytime during the life of a task.
taskDone(Future<?>, ManagedExecutorService, Object, Throwable) - Method in interface jakarta.enterprise.concurrent.ManagedTaskListener
Called when a submitted task has completed running, either successfully or failed due to any exception thrown from the task, task being cancelled, rejected, or aborted.
taskStarting(Future<?>, ManagedExecutorService, Object) - Method in interface jakarta.enterprise.concurrent.ManagedTaskListener
This method is called before the task is about to start.
taskSubmitted(Future<?>, ManagedExecutorService, Object) - Method in interface jakarta.enterprise.concurrent.ManagedTaskListener
Called after the task has been submitted to the Executor.
TRANSACTION - Static variable in interface jakarta.enterprise.concurrent.ManagedTask
Execution property to be returned in ManagedTask.getExecutionProperties() or ContextService.createContextualProxy() to inform the Jakarta EE Product Provider under which transaction should the task or proxy method of contextual proxy object be executed in.
Trigger - Interface in jakarta.enterprise.concurrent
Triggers allow application developers to plug in rules for when and how often a task should run.

U

USE_TRANSACTION_OF_EXECUTION_THREAD - Static variable in interface jakarta.enterprise.concurrent.ManagedTask
Constant for the "USE_TRANSACTION_OF_EXECUTION_THREAD" value of the TRANSACTION execution property.
A C G I J L M S T U 
Skip navigation links

Jakarta Concurrency API v2.0.0

Copyright (c) 2020 Eclipse Foundation. Use is subject to license terms.