A B C D E F G H I J L M N P Q R S T U V W Z 
All Classes All Packages

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) - Constructor for exception jakarta.enterprise.concurrent.AbortedException
Constructs an AbortedException exception with the specified detail message.
AbortedException(String, Throwable) - Constructor for exception jakarta.enterprise.concurrent.AbortedException
Constructs an AbortedException exception with the specified detail message and cause.
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).
Adapter(ManagedTaskListener, Map<String, String>, ManagedTask) - Constructor for class jakarta.enterprise.concurrent.ManagedExecutors.Adapter
 
add(SortedSet<Integer>, int, int, int) - Static method in class jakarta.enterprise.concurrent.CronTrigger
 
ALL_DAYS_OF_MONTH - Static variable in class jakarta.enterprise.concurrent.CronTrigger
 
ALL_DAYS_OF_WEEK - Static variable in class jakarta.enterprise.concurrent.CronTrigger
 
ALL_MONTHS - Static variable in class jakarta.enterprise.concurrent.CronTrigger
 
ALL_REMAINING - Static variable in annotation type jakarta.enterprise.concurrent.ContextServiceDefinition
All available thread context types that are not specified elsewhere.
APPLICATION - Static variable in annotation type jakarta.enterprise.concurrent.ContextServiceDefinition
Context pertaining to the application component or module, including its Jakarta EE namespace (such as java:comp/env/) and thread context class loader.
Asynchronous - Annotation Type in jakarta.enterprise.concurrent
Annotates a CDI managed bean method to run asynchronously.
Asynchronous.Result - Class in jakarta.enterprise.concurrent
Mechanism by which the Jakarta EE Product Provider makes available to the asynchronous method implementation the same CompletableFuture instance that the Jakarta EE Product Provider supplies to the caller of the asynchronous method.

B

begin() - Method in interface jakarta.enterprise.concurrent.spi.ThreadContextSnapshot
Applies the captured thread context snapshot to the current thread and returns a distinct ThreadContextRestorer instance.

C

call() - Method in class jakarta.enterprise.concurrent.ManagedExecutors.CallableAdapter
 
CallableAdapter(Callable<V>, Map<String, String>, ManagedTaskListener) - Constructor for class jakarta.enterprise.concurrent.ManagedExecutors.CallableAdapter
 
cleared() - Method in annotation type jakarta.enterprise.concurrent.ContextServiceDefinition
Types of context to clear whenever a thread runs the contextual task or action.
clearedContext(Map<String, String>) - Method in interface jakarta.enterprise.concurrent.spi.ThreadContextProvider
Returns empty/cleared context of the provided type.
complete(T) - Static method in class jakarta.enterprise.concurrent.Asynchronous.Result
Completes the CompletableFuture instance that the Jakarta EE Product Provider supplies to the caller of the asynchronous method.
completedFuture(U) - Method in interface jakarta.enterprise.concurrent.ManagedExecutorService
Returns a new CompletableFuture that is already completed with the specified value.
completedStage(U) - Method in interface jakarta.enterprise.concurrent.ManagedExecutorService
Returns a new CompletionStage that is already completed with the specified value.
context() - Method in annotation type jakarta.enterprise.concurrent.ManagedExecutorDefinition
The name of a ContextService instance which determines how context is applied to tasks and actions that run on this executor.
context() - Method in annotation type jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition
The name of a ContextService instance which determines how context is applied to tasks and actions that run on this executor.
context() - Method in annotation type jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition
Determines how context is applied to threads from this thread factory.
ContextService - Interface in jakarta.enterprise.concurrent
The ContextService provides methods for creating dynamic proxy objects (as defined by java.lang.reflect.Proxy).
ContextServiceDefinition - Annotation Type in jakarta.enterprise.concurrent
Defines a ContextService to be injected into ContextService injection points including any required Qualifier annotations specified by ContextServiceDefinition.qualifiers() and registered in JNDI by the container under the JNDI name that is specified in the ContextServiceDefinition.name() attribute.
ContextServiceDefinition.List - Annotation Type in jakarta.enterprise.concurrent
Enables multiple ContextServiceDefinition annotations on the same type.
contextualCallable(Callable<R>) - Method in interface jakarta.enterprise.concurrent.ContextService
Wraps a Callable with context that is captured from the thread that invokes contextualCallable.
contextualConsumer(BiConsumer<T, U>) - Method in interface jakarta.enterprise.concurrent.ContextService
Wraps a BiConsumer with context that is captured from the thread that invokes contextualConsumer.
contextualConsumer(Consumer<T>) - Method in interface jakarta.enterprise.concurrent.ContextService
Wraps a Consumer with context that is captured from the thread that invokes contextualConsumer.
contextualFunction(BiFunction<T, U, R>) - Method in interface jakarta.enterprise.concurrent.ContextService
Wraps a BiFunction with context that is captured from the thread that invokes contextualFunction.
contextualFunction(Function<T, R>) - Method in interface jakarta.enterprise.concurrent.ContextService
Wraps a BiFunction with context that is captured from the thread that invokes contextualFunction.
contextualProcessor(Flow.Processor<T, R>) - Method in interface jakarta.enterprise.concurrent.ContextService
Wraps a Flow.Processor with context captured from the thread that invokes contextualProcessor.
contextualRunnable(Runnable) - Method in interface jakarta.enterprise.concurrent.ContextService
Wraps a Runnable with context that is captured from the thread that invokes contextualRunnable.
contextualSubscriber(Flow.Subscriber<T>) - Method in interface jakarta.enterprise.concurrent.ContextService
Wraps a Flow.Subscriber with context captured from the thread that invokes contextualSubscriber.
contextualSupplier(Supplier<R>) - Method in interface jakarta.enterprise.concurrent.ContextService
Wraps a Supplier with context captured from the thread that invokes contextualSupplier.
copy(CompletableFuture<T>) - Method in interface jakarta.enterprise.concurrent.ManagedExecutorService
Returns a new CompletableFuture that is completed by the completion of the specified stage.
copy(CompletionStage<T>) - Method in interface jakarta.enterprise.concurrent.ManagedExecutorService
Returns a new CompletionStage that is completed by the completion of the specified stage.
createContextualProxy(Object, Class<?>...) - 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.
createContextualProxy(T, Class<T>) - 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.
cron() - Method in annotation type jakarta.enterprise.concurrent.Schedule
Cron expression following the rules of CronTrigger.
CronTrigger - Class in jakarta.enterprise.concurrent
Cron-based Trigger implementation, which supports 5 or 6 fields delimited by a single space character, plus a ZoneId.
CronTrigger(String, ZoneId) - Constructor for class jakarta.enterprise.concurrent.CronTrigger
Constructor that accepts a cron expression.
CronTrigger(ZoneId) - Constructor for class jakarta.enterprise.concurrent.CronTrigger
Constructor for the fluent configuration pattern.
currentContext(Map<String, String>) - Method in interface jakarta.enterprise.concurrent.spi.ThreadContextProvider
Captures from the current thread a snapshot of the provided thread context type.
currentContextExecutor() - Method in interface jakarta.enterprise.concurrent.ContextService
Captures thread context as an Executor that runs tasks on the same thread from which executeis invoked but with context that is captured from the thread that invokes currentContextExecutor.

D

DAYS_OF_WEEK - Static variable in class jakarta.enterprise.concurrent.CronTrigger
 
daysOfMonth - Variable in class jakarta.enterprise.concurrent.CronTrigger
 
daysOfMonth() - Method in annotation type jakarta.enterprise.concurrent.Schedule
Days of the month on which the asynchronous method aims to run.
daysOfMonth(int...) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the day-of-month cron field, overwriting any previous value for day-of-month.
daysOfMonth(String) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the day-of-month cron field, overwriting any previous value for day-of-month.
daysOfWeek - Variable in class jakarta.enterprise.concurrent.CronTrigger
 
daysOfWeek() - Method in annotation type jakarta.enterprise.concurrent.Schedule
Days of the week on which the asynchronous method aims to run.
daysOfWeek(String) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the day-of-week cron field, overwriting any previous value for day-of-week.
daysOfWeek(DayOfWeek...) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the day-of-week cron field, overwriting any previous value for day-of-week.

E

endContext() - Method in interface jakarta.enterprise.concurrent.spi.ThreadContextRestorer
Invoked by the Jakarta EE Product Provider to remove the thread context that the ThreadContextSnapshot began on this thread and restore the previous context that was on the thread prior to that point.
executionProperties - Variable in class jakarta.enterprise.concurrent.ManagedExecutors.Adapter
 
executor() - Method in annotation type jakarta.enterprise.concurrent.Asynchronous
JNDI name of a ManagedExecutorService or ManagedScheduledExecutorService upon which to run the asynchronous method.

F

failedFuture(Throwable) - Method in interface jakarta.enterprise.concurrent.ManagedExecutorService
Returns a new CompletableFuture that is already exceptionally completed with the specified Throwable.
failedStage(Throwable) - Method in interface jakarta.enterprise.concurrent.ManagedExecutorService
Returns a new CompletionStage that is already exceptionally completed with the specified Throwable.
FUTURES - Static variable in class jakarta.enterprise.concurrent.Asynchronous.Result
 

G

getContextService() - Method in interface jakarta.enterprise.concurrent.ManagedExecutorService
Returns a ContextService which has the same propagation settings as this ManagedExecutorService and uses this ManagedExecutorService as the default asynchronous execution facility for CompletionStage and CompletableFuture instances that it creates via the withContextCapture methods.
getExecutionProperties() - Method in class jakarta.enterprise.concurrent.ManagedExecutors.Adapter
 
getExecutionProperties() - Method in interface jakarta.enterprise.concurrent.ManagedTask
Provides additional information to the ManagedExecutorService or ManagedScheduledExecutorService when executing this task.
getExecutionProperties(Object) - Method in interface jakarta.enterprise.concurrent.ContextService
Gets the current execution properties on the context proxy instance.
getFuture() - Static method in class jakarta.enterprise.concurrent.Asynchronous.Result
Obtains the same CompletableFuture instance that the Jakarta EE Product Provider supplies to the caller of the asynchronous method.
getIdentityName() - Method in interface jakarta.enterprise.concurrent.LastExecution
The name or ID of the identifiable object, as specified in the IDENTITY_NAME execution property of the task if it also implements the ManagedTask interface.
getManagedTaskListener() - Method in class jakarta.enterprise.concurrent.ManagedExecutors.Adapter
 
getManagedTaskListener() - Method in interface jakarta.enterprise.concurrent.ManagedTask
The ManagedTaskListener to receive notification of lifecycle events of this task.
getNextRunTime(LastExecution, ZonedDateTime) - Method in class jakarta.enterprise.concurrent.CronTrigger
Using the cron schedule, and based on the end of the most recent execution (or absent that, the initial scheduling time), retrieve the next time that the task should run after.
getNextRunTime(LastExecution, ZonedDateTime) - Method in interface jakarta.enterprise.concurrent.ZonedTrigger
Retrieve the next time that the task should run after.
getNextRunTime(LastExecution, Date) - Method in interface jakarta.enterprise.concurrent.Trigger
Retrieve the next time that the task should run after.
getNextRunTime(LastExecution, Date) - Method in interface jakarta.enterprise.concurrent.ZonedTrigger
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.
getRunEnd(ZoneId) - Method in interface jakarta.enterprise.concurrent.LastExecution
The time, in the specified time-zone, at which the most recent execution of the task completed running.
getRunStart() - Method in interface jakarta.enterprise.concurrent.LastExecution
The last time in which the task started running.
getRunStart(ZoneId) - Method in interface jakarta.enterprise.concurrent.LastExecution
The time, in the specified time-zone, at which the most recent execution of the task started running.
getScheduledStart() - Method in interface jakarta.enterprise.concurrent.LastExecution
The last time in which task was scheduled to run.
getScheduledStart(ZoneId) - Method in interface jakarta.enterprise.concurrent.LastExecution
The time, in the specified time-zone, at which the most recent execution of the task was expected to start, per its schedule.
getThreadContextType() - Method in interface jakarta.enterprise.concurrent.spi.ThreadContextProvider
Returns a human readable identifier for the type of thread context that is captured by this ThreadContextProvider implementation.
getZoneId() - Method in class jakarta.enterprise.concurrent.CronTrigger
Returns the timezone to use for ZonedDateTime that is supplied to the getNextRunTime and skipRun methods.
getZoneId() - Method in interface jakarta.enterprise.concurrent.ZonedTrigger
Returns the timezone to use for the ZonedDateTime that is supplied to the getNextRunTime and skipRun methods.

H

hours - Variable in class jakarta.enterprise.concurrent.CronTrigger
 
hours() - Method in annotation type jakarta.enterprise.concurrent.Schedule
Hours of the day at which the asynchronous method aims to run.
hours(int...) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the hours cron field, overwriting any previous value for hours.
hours(String) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the hours cron field, overwriting any previous value for hours.
hungTaskThreshold() - Method in annotation type jakarta.enterprise.concurrent.ManagedExecutorDefinition
The amount of time in milliseconds that a task or action can execute before it is considered hung.
hungTaskThreshold() - Method in annotation type jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition
The amount of time in milliseconds that a task or action can execute before it is considered hung.

I

IDENTITY_NAME - Static variable in interface jakarta.enterprise.concurrent.ManagedTask
Execution property to be returned in getExecutionProperties() or ContextService.createContextualProxy() to provide a String that identifies the task.
initExecutionProperties(Map<String, String>, Map<String, String>) - Method in class jakarta.enterprise.concurrent.ManagedExecutors.Adapter
 
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.concurrency - module jakarta.concurrency
 
jakarta.enterprise.concurrent - package jakarta.enterprise.concurrent
Classes and interfaces that make up the Jakarta Concurrency specification.
jakarta.enterprise.concurrent.spi - package jakarta.enterprise.concurrent.spi
Interfaces for third-party providers of thread context to implement.

L

LAST - Static variable in class jakarta.enterprise.concurrent.CronTrigger
 
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 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 platform threads that are created by calling ThreadFactory.newThread(java.lang.Runnable).
ManagedExecutorDefinition - Annotation Type in jakarta.enterprise.concurrent
Defines a ManagedExecutorService to be injected into ManagedExecutorService injection points including any required Qualifier annotations specified by ManagedExecutorDefinition.qualifiers() and registered in JNDI by the container under the JNDI name that is specified in the ManagedExecutorDefinition.name() attribute.
ManagedExecutorDefinition.List - Annotation Type in jakarta.enterprise.concurrent
Enables multiple ManagedExecutorDefinition annotations on the same type.
ManagedExecutors - Class in jakarta.enterprise.concurrent
Utility methods for classes defined in this package.
ManagedExecutors() - Constructor for class jakarta.enterprise.concurrent.ManagedExecutors
Not suppose to create instances of this class.
ManagedExecutors.Adapter - Class in jakarta.enterprise.concurrent
 
ManagedExecutors.CallableAdapter<V> - Class in jakarta.enterprise.concurrent
Adapter for Callable to include ManagedTask interface methods.
ManagedExecutors.RunnableAdapter - Class in jakarta.enterprise.concurrent
Adapter for Runnable to include ManagedTask interface methods.
ManagedExecutorService - Interface in jakarta.enterprise.concurrent
A manageable version of a ExecutorService.
ManagedScheduledExecutorDefinition - Annotation Type in jakarta.enterprise.concurrent
Defines a ManagedScheduledExecutorService to be injected into ManagedScheduledExecutorService injection points including any required Qualifier annotations specified by ManagedScheduledExecutorDefinition.qualifiers() and registered in JNDI by the container under the JNDI name that is specified in the ManagedScheduledExecutorDefinition.name() attribute.
ManagedScheduledExecutorDefinition.List - Annotation Type in jakarta.enterprise.concurrent
Enables multiple ManagedScheduledExecutorDefinition annotations on the same type.
ManagedScheduledExecutorService - Interface in jakarta.enterprise.concurrent
A manageable version of a ScheduledExecutorService.
managedTask - Variable in class jakarta.enterprise.concurrent.ManagedExecutors.Adapter
 
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.
ManagedThreadFactoryDefinition - Annotation Type in jakarta.enterprise.concurrent
Defines ManagedThreadFactory instances to be injected into ManagedThreadFactory injection points including any required Qualifier annotations specified by ManagedThreadFactoryDefinition.qualifiers() and registered in JNDI by the container under the JNDI name that is specified in the ManagedThreadFactoryDefinition.name() attribute.
ManagedThreadFactoryDefinition.List - Annotation Type in jakarta.enterprise.concurrent
Enables multiple ManagedThreadFactoryDefinition annotations on the same type.
maxAsync() - Method in annotation type jakarta.enterprise.concurrent.ManagedExecutorDefinition
Upper bound on contextual tasks and actions that this executor will simultaneously execute asynchronously.
maxAsync() - Method in annotation type jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition
Upper bound on contextual tasks and actions that this executor will simultaneously execute asynchronously.
minutes - Variable in class jakarta.enterprise.concurrent.CronTrigger
 
minutes() - Method in annotation type jakarta.enterprise.concurrent.Schedule
Minutes at which the asynchronous method aims to run.
minutes(int...) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the minutes cron field, overwriting any previous value for minutes.
minutes(String) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the minutes cron field, overwriting any previous value for minutes.
months - Variable in class jakarta.enterprise.concurrent.CronTrigger
 
months() - Method in annotation type jakarta.enterprise.concurrent.Schedule
Months in which the asynchronous method aims to run.
months(String) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the months cron field, overwriting any previous value for months.
months(Month...) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the month cron field, overwriting any previous value for month.
MONTHS - Static variable in class jakarta.enterprise.concurrent.CronTrigger
 

N

name() - Method in annotation type jakarta.enterprise.concurrent.ContextServiceDefinition
JNDI name of the ContextService instance being defined.
name() - Method in annotation type jakarta.enterprise.concurrent.ManagedExecutorDefinition
JNDI name of the ManagedExecutorService instance.
name() - Method in annotation type jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition
JNDI name of the ManagedScheduledExecutorService instance.
name() - Method in annotation type jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition
JNDI name of the ManagedThreadFactory instance.
newIncompleteFuture() - Method in interface jakarta.enterprise.concurrent.ManagedExecutorService
Returns a new incomplete CompletableFuture.
next(ZonedDateTime) - Method in class jakarta.enterprise.concurrent.CronTrigger
Advance to the next date/time according to the cron schedule.
nextDayOfMonth(int, int, int, int, ZonedDateTime) - Method in class jakarta.enterprise.concurrent.CronTrigger
Advance to next day of month.
nextHour(int, int, int, int, int, int, ZonedDateTime) - Method in class jakarta.enterprise.concurrent.CronTrigger
Advance to next hour.
nextMinute(int, int, int, int, int, int, int, ZonedDateTime) - Method in class jakarta.enterprise.concurrent.CronTrigger
Advance to next minute.
nextMonth(int, int) - Method in class jakarta.enterprise.concurrent.CronTrigger
Advance to next month.
nextSecond(int, int, int, int, int, int, int, int, ZonedDateTime) - Method in class jakarta.enterprise.concurrent.CronTrigger
Advance to next second.
NULL_TASK_ERROR_MSG - Static variable in class jakarta.enterprise.concurrent.ManagedExecutors
Error message for null tasks.

P

parse(String, int, int, int[]) - Method in class jakarta.enterprise.concurrent.CronTrigger
Validate that the supplied list values are within the allowed range for the cron field type.
parse(String, int, int, int, String, Function<String, Integer>) - Method in class jakarta.enterprise.concurrent.CronTrigger
Validate that the supplied list values are within the allowed range for the cron field type.
parseDayOfMonth(String) - Static method in class jakarta.enterprise.concurrent.CronTrigger
Convert dayOfMonth value to 1-31, or negative for days from the end of the month For example, L is the last day (-1) and 2L is the second to last day (-2).
parseDayOfWeek(String) - Static method in class jakarta.enterprise.concurrent.CronTrigger
Convert dayOfWeek value to 1-49 where first 7 are standard week days, next 35 are ordinal 1st-5th of each day, and final 7 are ordinal last for each day.
parseMonth(String) - Static method in class jakarta.enterprise.concurrent.CronTrigger
Convert month value to 1-12.
priority() - Method in annotation type jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition
Priority for platform threads created by this thread factory.
propagated() - Method in annotation type jakarta.enterprise.concurrent.ContextServiceDefinition
Types of context to capture from the requesting thread and propagate to a thread that runs the contextual task or action.

Q

qualifiers() - Method in annotation type jakarta.enterprise.concurrent.ContextServiceDefinition
List of required qualifier annotations.
qualifiers() - Method in annotation type jakarta.enterprise.concurrent.ManagedExecutorDefinition
List of required qualifier annotations.
qualifiers() - Method in annotation type jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition
List of required qualifier annotations.
qualifiers() - Method in annotation type jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition
List of required qualifier annotations.

R

Result() - Constructor for class jakarta.enterprise.concurrent.Asynchronous.Result
 
run() - Method in class jakarta.enterprise.concurrent.ManagedExecutors.RunnableAdapter
 
runAsync(Runnable) - Method in interface jakarta.enterprise.concurrent.ManagedExecutorService
Returns a new CompletableFuture that is completed by a task running in this executor after it runs the given action.
runAt() - Method in annotation type jakarta.enterprise.concurrent.Asynchronous
Establishes a schedule for repeated execution of the method.
RunnableAdapter(Runnable, Map<String, String>, ManagedTaskListener) - Constructor for class jakarta.enterprise.concurrent.ManagedExecutors.RunnableAdapter
 

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.
Schedule - Annotation Type in jakarta.enterprise.concurrent
Defines schedules for scheduled asynchronous methods.
seconds - Variable in class jakarta.enterprise.concurrent.CronTrigger
 
seconds() - Method in annotation type jakarta.enterprise.concurrent.Schedule
Seconds at which the asynchronous method aims to run.
seconds(int...) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the seconds cron field, overwriting any previous value for seconds.
seconds(String) - Method in class jakarta.enterprise.concurrent.CronTrigger
Configure the seconds cron field, overwriting any previous value for seconds.
SECURITY - Static variable in annotation type jakarta.enterprise.concurrent.ContextServiceDefinition
Context that controls the credentials that are associated with the thread, including the caller subject and invocation/RunAs subject.
serialVersionUID - Static variable in exception jakarta.enterprise.concurrent.AbortedException
 
serialVersionUID - Static variable in exception jakarta.enterprise.concurrent.SkippedException
 
setFuture(CompletableFuture<T>) - Static method in class jakarta.enterprise.concurrent.Asynchronous.Result
Before invoking the asynchronous method implementation on a thread, the Jakarta EE Product Provider invokes this method to make available to the asynchronous method implementation the same CompletableFuture that the Jakarta EE Product Provider returns to the caller.
skipIfLateBy() - Method in annotation type jakarta.enterprise.concurrent.Schedule
Seconds after which an execution that is late to start should be skipped rather than starting it late.
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, ZonedDateTime) - Method in interface jakarta.enterprise.concurrent.ZonedTrigger
Return true if this run instance should be skipped.
skipRun(LastExecution, Date) - Method in interface jakarta.enterprise.concurrent.Trigger
Return true if this run instance should be skipped.
skipRun(LastExecution, Date) - Method in interface jakarta.enterprise.concurrent.ZonedTrigger
Return true if this run instance should be skipped.
supplyAsync(Supplier<U>) - Method in interface jakarta.enterprise.concurrent.ManagedExecutorService
Returns a new CompletableFuture that is completed by a task running in this executor after it runs the given action.
SUSPEND - Static variable in interface jakarta.enterprise.concurrent.ManagedTask
Constant for the "SUSPEND" value of the TRANSACTION execution property.

T

task - Variable in class jakarta.enterprise.concurrent.ManagedExecutors.CallableAdapter
 
task - Variable in class jakarta.enterprise.concurrent.ManagedExecutors.RunnableAdapter
 
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.
taskListener - Variable in class jakarta.enterprise.concurrent.ManagedExecutors.Adapter
 
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.
ThreadContextProvider - Interface in jakarta.enterprise.concurrent.spi
Third party providers of thread context implement this interface to participate in thread context capture and propagation.
ThreadContextRestorer - Interface in jakarta.enterprise.concurrent.spi
Restores the prior context on a thread after a contextual task or action completes.
ThreadContextSnapshot - Interface in jakarta.enterprise.concurrent.spi
An immutable snapshot of a particular type of thread context.
toString() - Method in class jakarta.enterprise.concurrent.CronTrigger
Readable representation of the CronTrigger, which displays fields in list form or with the * character for brevity.
toStringBuilder(StringBuilder, String, int[], int) - Method in class jakarta.enterprise.concurrent.CronTrigger
Utility method for repeated logic in toString.
TRANSACTION - Static variable in annotation type jakarta.enterprise.concurrent.ContextServiceDefinition
Context that controls the transaction that is associated with the thread.
TRANSACTION - Static variable in interface jakarta.enterprise.concurrent.ManagedTask
Execution property to be returned in 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

unchanged() - Method in annotation type jakarta.enterprise.concurrent.ContextServiceDefinition
Types of context that are left alone when a thread runs the contextual task or action.
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.

V

value() - Method in annotation type jakarta.enterprise.concurrent.ContextServiceDefinition.List
 
value() - Method in annotation type jakarta.enterprise.concurrent.ManagedExecutorDefinition.List
 
value() - Method in annotation type jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition.List
 
value() - Method in annotation type jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition.List
 
virtual() - Method in annotation type jakarta.enterprise.concurrent.ManagedExecutorDefinition
Indicates whether this executor is requested to create virtual threads for tasks that do not run inline.
virtual() - Method in annotation type jakarta.enterprise.concurrent.ManagedScheduledExecutorDefinition
Indicates whether this executor is requested to create virtual threads for tasks that do not run inline.
virtual() - Method in annotation type jakarta.enterprise.concurrent.ManagedThreadFactoryDefinition
Indicates whether this thread factory is requested to create virtual threads.

W

withContextCapture(CompletableFuture<T>) - Method in interface jakarta.enterprise.concurrent.ContextService
Returns a new CompletableFuture that is completed by the completion of the specified stage.
withContextCapture(CompletionStage<T>) - Method in interface jakarta.enterprise.concurrent.ContextService
Returns a new CompletionStage that is completed by the completion of the specified stage.

Z

ZERO - Static variable in class jakarta.enterprise.concurrent.CronTrigger
 
zone - Variable in class jakarta.enterprise.concurrent.CronTrigger
 
zone() - Method in annotation type jakarta.enterprise.concurrent.Schedule
Time zone id, such as America/Chicago or America/Los_Angeles, which identifies the time zone of the schedule.
ZonedTrigger - Interface in jakarta.enterprise.concurrent
Triggers allow application developers to plug in rules for when and how often a task should run.
A B C D E F G H I J L M N P Q R S T U V W Z 
All Classes All Packages