Package | Description |
---|---|
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 |
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
A standard implementation of Spring's
TaskScheduler interface, wrapping
a native ScheduledThreadPoolExecutor and providing
all applicable configuration options for it. |