类的使用
org.springframework.scheduling.config.Task
使用Task的程序包 程序包 说明 org.springframework.scheduling.config Support package for declarative scheduling configuration, with XML schema being the primary configuration format.org.springframework.scheduling.config中Task的使用
org.springframework.scheduling.config中Task的子类 修饰符和类型 类 说明 class
CronTask
TriggerTask
implementation defining aRunnable
to be executed according to a standard cron expression.class
FixedDelayTask
Specialization ofIntervalTask
for fixed-delay semantics.class
FixedRateTask
Specialization ofIntervalTask
for fixed-rate semantics.class
IntervalTask
Task
implementation defining aRunnable
to be executed at a given millisecond interval which may be treated as fixed-rate or fixed-delay depending on context.class
TriggerTask
返回Task的org.springframework.scheduling.config中的方法 修饰符和类型 方法 说明 Task
ScheduledTask. getTask()