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 |
ConcurrentTaskExecutor
Adapter that takes a
java.util.concurrent.Executor and exposes
a Spring TaskExecutor for it. |
class |
ConcurrentTaskScheduler
Adapter that takes a
java.util.concurrent.ScheduledExecutorService and
exposes a Spring TaskScheduler for it. |
class |
DefaultManagedTaskExecutor
JNDI-based variant of
ConcurrentTaskExecutor , performing a default lookup for
JSR-236's "java:comp/DefaultManagedExecutorService" in a Java EE 7 environment. |
class |
DefaultManagedTaskScheduler
JNDI-based variant of
ConcurrentTaskScheduler , performing a default lookup for
JSR-236's "java:comp/DefaultManagedScheduledExecutorService" in a Java EE 7 environment. |
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 . |