类的使用
cn.taketoday.scheduling.config.ScheduledTask
使用ScheduledTask的程序包
程序包
说明
Java 5 annotation for asynchronous method execution.
Support package for declarative scheduling configuration.
-
cn.taketoday.scheduling.annotation中ScheduledTask的使用
返回变量类型为ScheduledTask的类型的cn.taketoday.scheduling.annotation中的方法修饰符和类型方法说明ScheduledAnnotationBeanPostProcessor.getScheduledTasks()Return all currently scheduled tasks, fromScheduledmethods as well as from programmaticSchedulingConfigurerinteraction. -
cn.taketoday.scheduling.config中ScheduledTask的使用
修饰符和类型方法说明ScheduledTaskRegistrar.scheduleCronTask(CronTask task) Schedule the specified cron task, either right away if possible or on initialization of the scheduler.ScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask task) Schedule the specified fixed-delay task, either right away if possible or on initialization of the scheduler.ScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask task) Schedule the specified fixed-rate task, either right away if possible or on initialization of the scheduler.ScheduledTaskRegistrar.scheduleTriggerTask(TriggerTask task) Schedule the specified trigger task, either right away if possible or on initialization of the scheduler.返回变量类型为ScheduledTask的类型的cn.taketoday.scheduling.config中的方法修饰符和类型方法说明ScheduledTaskHolder.getScheduledTasks()Return an overview of the tasks that have been scheduled by this instance.ScheduledTaskRegistrar.getScheduledTasks()Return all locally registered tasks that have been scheduled by this registrar.