Uses of Interface
org.springframework.core.task.TaskExecutor
Packages that use TaskExecutor
Package
Description
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
Support classes for Spring's TaskExecutor abstraction.
-
Uses of TaskExecutor in org.springframework.core.task
Subinterfaces of TaskExecutor in org.springframework.core.taskModifier and TypeInterfaceDescriptioninterfaceDeprecated, for removal: This API element is subject to removal in a future version.interfaceExtended interface for asynchronousTaskExecutorimplementations, offering support forCallable.Classes in org.springframework.core.task that implement TaskExecutorModifier and TypeClassDescriptionclassTaskExecutorimplementation that fires up a new Thread for each task, executing it asynchronously.classTaskExecutorimplementation that executes each task synchronously in the calling thread.classATaskExecutorimplementation based on virtual threads in JDK 21+. -
Uses of TaskExecutor in org.springframework.core.task.support
Classes in org.springframework.core.task.support that implement TaskExecutorModifier and TypeClassDescriptionclassAdapter that takes a JDKjava.util.concurrent.Executorand exposes a SpringTaskExecutorfor it.Constructors in org.springframework.core.task.support with parameters of type TaskExecutorModifierConstructorDescriptionExecutorServiceAdapter(TaskExecutor taskExecutor) Create a new ExecutorServiceAdapter, using the given target executor.
AsyncTaskExecutor.submitCompletable(Runnable)andAsyncTaskExecutor.submitCompletable(Callable)