Package | Description |
---|---|
org.springframework.scheduling.concurrent |
Scheduling convenience classes for the JDK 1.5+ Executor mechanism
in the
java.util.concurrent package, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context. |
org.springframework.scheduling.config |
Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
|
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentTaskScheduler
Adapter that takes a JDK 1.5
java.util.concurrent.ScheduledExecutorService
and exposes a Spring TaskScheduler for it. |
class |
ThreadPoolTaskScheduler
Implementation of Spring's
TaskScheduler interface, wrapping
a native ScheduledThreadPoolExecutor . |
Modifier and Type | Method and Description |
---|---|
TaskScheduler |
ScheduledTaskRegistrar.getScheduler()
Return the
TaskScheduler instance for this registrar (may be null ). |
Modifier and Type | Method and Description |
---|---|
void |
ScheduledTaskRegistrar.setTaskScheduler(TaskScheduler taskScheduler)
Set the
TaskScheduler to register scheduled tasks with. |
Copyright © 2015. All rights reserved.