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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncListenableTaskExecutor
Extension of the
AsyncTaskExecutor interface, adding the capability to submit
tasks for ListenableFutures . |
interface |
AsyncTaskExecutor
Extended interface for asynchronous
TaskExecutor implementations,
offering an overloaded AsyncTaskExecutor.execute(Runnable, long) variant with a start
timeout parameter as well support for Callable . |
Modifier and Type | Class and Description |
---|---|
class |
SimpleAsyncTaskExecutor
TaskExecutor implementation that fires up a new Thread for each task,
executing it asynchronously. |
class |
SyncTaskExecutor
TaskExecutor implementation that executes each task synchronously
in the calling thread. |
Modifier and Type | Class and Description |
---|---|
class |
TaskExecutorAdapter
Adapter that takes a JDK
java.util.concurrent.Executor and
exposes a Spring TaskExecutor for it. |
Constructor and Description |
---|
ConcurrentExecutorAdapter(TaskExecutor taskExecutor)
Create a new ConcurrentExecutorAdapter for the given Spring TaskExecutor.
|
ExecutorServiceAdapter(TaskExecutor taskExecutor)
Create a new ExecutorServiceAdapter, using the given target executor.
|