类的使用
org.springframework.scheduling.config.ScheduledTask
使用ScheduledTask的程序包 程序包 说明 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中ScheduledTask的使用
返回变量类型为ScheduledTask的类型的org.springframework.scheduling.annotation中的方法 修饰符和类型 方法 说明 Set<ScheduledTask>ScheduledAnnotationBeanPostProcessor. getScheduledTasks()Return all currently scheduled tasks, fromScheduledmethods as well as from programmaticSchedulingConfigurerinteraction.org.springframework.scheduling.config中ScheduledTask的使用
返回ScheduledTask的org.springframework.scheduling.config中的方法 修饰符和类型 方法 说明 ScheduledTaskScheduledTaskRegistrar. scheduleCronTask(CronTask task)Schedule the specified cron task, either right away if possible or on initialization of the scheduler.ScheduledTaskScheduledTaskRegistrar. scheduleFixedDelayTask(FixedDelayTask task)Schedule the specified fixed-delay task, either right away if possible or on initialization of the scheduler.ScheduledTaskScheduledTaskRegistrar. scheduleFixedDelayTask(IntervalTask task)已过时。as of 5.0.2, in favor ofScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask)ScheduledTaskScheduledTaskRegistrar. scheduleFixedRateTask(FixedRateTask task)Schedule the specified fixed-rate task, either right away if possible or on initialization of the scheduler.ScheduledTaskScheduledTaskRegistrar. scheduleFixedRateTask(IntervalTask task)已过时。as of 5.0.2, in favor ofScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask)ScheduledTaskScheduledTaskRegistrar. scheduleTriggerTask(TriggerTask task)Schedule the specified trigger task, either right away if possible or on initialization of the scheduler.返回变量类型为ScheduledTask的类型的org.springframework.scheduling.config中的方法 修饰符和类型 方法 说明 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.