# Uses of Interface
org.springframework.core.task.TaskExecutor

Packages that use TaskExecutor
Package
Description
org.springframework.core.task
This package defines Spring's core TaskExecutor abstraction, and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
org.springframework.core.task.support
Support classes for Spring's TaskExecutor abstraction.

## Uses of TaskExecutor in org.springframework.core.task

Subinterfaces of TaskExecutor in org.springframework.core.task
Modifier and Type
Interface
Description
`interface`
`AsyncListenableTaskExecutor`
Deprecated, for removal: This API element is subject to removal in a future version.
as of 6.0, in favor of `AsyncTaskExecutor.submitCompletable(Runnable)` and `AsyncTaskExecutor.submitCompletable(Callable)`
`interface`
`AsyncTaskExecutor`
Extended interface for asynchronous `TaskExecutor` implementations, offering support for `Future`/`CompletableFuture` handles.
Classes in org.springframework.core.task that implement TaskExecutor
Modifier and Type
Class
Description
`class`
`SimpleAsyncTaskExecutor`
`TaskExecutor` implementation that fires up a new Thread for each task.
`class`
`SyncTaskExecutor`
`TaskExecutor` implementation that executes each task synchronously in the calling thread.
`class`
`VirtualThreadTaskExecutor`
A `TaskExecutor` implementation 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 TaskExecutor
Modifier and Type
Class
Description
`class`
`TaskExecutorAdapter`
Adapter that takes a JDK `java.util.concurrent.Executor` and exposes a Spring `TaskExecutor` for it.
Constructors in org.springframework.core.task.support with parameters of type TaskExecutor
Modifier
Constructor
Description
``
`ExecutorServiceAdapter(TaskExecutor taskExecutor)`
Create a new ExecutorServiceAdapter, using the given target executor.