Package | Description |
---|---|
org.springframework.scheduling.config |
Support package for declarative scheduling configuration,
with XML schema being the primary configuration format.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<IntervalTask> |
ScheduledTaskRegistrar.getFixedDelayTaskList()
Get the fixed-delay tasks as an unmodifiable list of
IntervalTask objects. |
java.util.List<IntervalTask> |
ScheduledTaskRegistrar.getFixedRateTaskList()
Get the fixed-rate tasks as an unmodifiable list of
IntervalTask objects. |
Modifier and Type | Method and Description |
---|---|
void |
ScheduledTaskRegistrar.addFixedDelayTask(IntervalTask task)
Add a fixed-delay
IntervalTask . |
void |
ScheduledTaskRegistrar.addFixedRateTask(IntervalTask task)
Add a fixed-rate
IntervalTask . |
ScheduledTask |
ScheduledTaskRegistrar.scheduleFixedDelayTask(IntervalTask task)
Schedule the specified fixed-delay task, either right away if possible
or on initialization of the scheduler.
|
ScheduledTask |
ScheduledTaskRegistrar.scheduleFixedRateTask(IntervalTask task)
Schedule the specified fixed-rate task, either right away if possible
or on initialization of the scheduler.
|
Modifier and Type | Method and Description |
---|---|
void |
ScheduledTaskRegistrar.setFixedDelayTasksList(java.util.List<IntervalTask> fixedDelayTasks)
Specify fixed-delay tasks as a list of
IntervalTask objects. |
void |
ScheduledTaskRegistrar.setFixedRateTasksList(java.util.List<IntervalTask> fixedRateTasks)
Specify fixed-rate tasks as a list of
IntervalTask objects. |