@NonNullApi @NonNullFields

# Package org.springframework.core.task

This package defines Spring's core TaskExecutor abstraction, and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  AsyncListenableTaskExecutor | Extension of the `AsyncTaskExecutor` interface, adding the capability to submit tasks for `ListenableFutures`.
  AsyncTaskExecutor | Extended interface for asynchronous `TaskExecutor` implementations, offering support for `Callable`.
  TaskDecorator | A callback interface for a decorator to be applied to any `Runnable` about to be executed.
  TaskExecutor | Simple task executor interface that abstracts the execution of a `Runnable`.

- Class Summary
  Class | Description
  --- | ---
  SimpleAsyncTaskExecutor | `TaskExecutor` implementation that fires up a new Thread for each task, executing it asynchronously.
  SyncTaskExecutor | `TaskExecutor` implementation that executes each task synchronously in the calling thread.

- Exception Summary
  Exception | Description
  --- | ---
  TaskRejectedException | Exception thrown when a `TaskExecutor` rejects to accept a given task for execution.
  TaskTimeoutException | Deprecated as of 5.3.16 since the common executors do not support start timeouts

## Package org.springframework.core.task Description

This package defines Spring's core TaskExecutor abstraction, and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.