Package | Description |
---|---|
org.springframework.scheduling.annotation |
Java 5 annotation for asynchronous method execution.
|
org.springframework.scheduling.config |
Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
|
Modifier and Type | Method and Description |
---|---|
Set<ScheduledTask> |
ScheduledAnnotationBeanPostProcessor.getScheduledTasks()
Return all currently scheduled tasks, from
Scheduled methods
as well as from programmatic SchedulingConfigurer interaction. |
Modifier and Type | Method and Description |
---|---|
ScheduledTask |
ScheduledTaskRegistrar.scheduleCronTask(CronTask task)
Schedule the specified cron task, either right away if possible
or on initialization of the scheduler.
|
ScheduledTask |
ScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask task)
Schedule the specified fixed-delay task, either right away if possible
or on initialization of the scheduler.
|
ScheduledTask |
ScheduledTaskRegistrar.scheduleFixedDelayTask(IntervalTask task)
Deprecated.
as of 5.0.2, in favor of
ScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask) |
ScheduledTask |
ScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask task)
Schedule the specified fixed-rate task, either right away if possible
or on initialization of the scheduler.
|
ScheduledTask |
ScheduledTaskRegistrar.scheduleFixedRateTask(IntervalTask task)
Deprecated.
as of 5.0.2, in favor of
ScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask) |
ScheduledTask |
ScheduledTaskRegistrar.scheduleTriggerTask(TriggerTask task)
Schedule the specified trigger task, either right away if possible
or on initialization of the scheduler.
|
Modifier and Type | Method and Description |
---|---|
Set<ScheduledTask> |
ScheduledTaskHolder.getScheduledTasks()
Return an overview of the tasks that have been scheduled by this instance.
|
Set<ScheduledTask> |
ScheduledTaskRegistrar.getScheduledTasks()
Return all locally registered tasks that have been scheduled by this registrar.
|