程序包的使用
org.springframework.scheduling.config
使用org.springframework.scheduling.config的程序包 程序包 说明 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.org.springframework.scheduling.annotation使用的org.springframework.scheduling.config中的类 类 说明 ScheduledTask A representation of a scheduled task at runtime, used as a return value for scheduling methods.ScheduledTaskHolder Common interface for exposing locally scheduled tasks.ScheduledTaskRegistrar Helper bean for registering tasks with aTaskScheduler
, typically using cron expressions.org.springframework.scheduling.config使用的org.springframework.scheduling.config中的类 类 说明 CronTask TriggerTask
implementation defining aRunnable
to be executed according to a standard cron expression.FixedDelayTask Specialization ofIntervalTask
for fixed-delay semantics.FixedRateTask Specialization ofIntervalTask
for fixed-rate semantics.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.ScheduledTask A representation of a scheduled task at runtime, used as a return value for scheduling methods.ScheduledTaskHolder Common interface for exposing locally scheduled tasks.ScheduledTaskRegistrar Helper bean for registering tasks with aTaskScheduler
, typically using cron expressions.Task Holder class defining aRunnable
to be executed as a task, typically at a scheduled time or interval.TriggerTask