Package | Description |
---|---|
org.springframework.core.task |
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
|
org.springframework.scheduling.concurrent |
Scheduling convenience classes for the
java.util.concurrent
and javax.enterprise.concurrent packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context. |
Modifier and Type | Class and Description |
---|---|
class |
SimpleAsyncTaskExecutor
TaskExecutor implementation that fires up a new Thread for each task,
executing it asynchronously. |
Modifier and Type | Class and Description |
---|---|
class |
CustomizableThreadFactory
Implementation of the
ThreadFactory interface,
allowing for customizing the created threads (name, priority, etc). |
class |
DefaultManagedAwareThreadFactory
JNDI-based variant of
CustomizableThreadFactory , performing a default lookup
for JSR-236's "java:comp/DefaultManagedThreadFactory" in a Java EE 7 environment,
falling back to the local CustomizableThreadFactory setup if not found. |
class |
ExecutorConfigurationSupport
Base class for setting up a
ExecutorService
(typically a ThreadPoolExecutor or
ScheduledThreadPoolExecutor ). |
class |
ScheduledExecutorFactoryBean
FactoryBean that sets up
a ScheduledExecutorService
(by default: a ScheduledThreadPoolExecutor )
and exposes it for bean references. |
class |
ThreadPoolExecutorFactoryBean
JavaBean that allows for configuring a
ThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds",
"queueCapacity" properties) and exposing it as a bean reference of its native
ExecutorService type. |
class |
ThreadPoolTaskExecutor
JavaBean that allows for configuring a
ThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity"
properties) and exposing it as a Spring TaskExecutor . |
class |
ThreadPoolTaskScheduler
Implementation of Spring's
TaskScheduler interface, wrapping
a native ScheduledThreadPoolExecutor . |