类的使用
org.springframework.scheduling.config.IntervalTask
使用IntervalTask的程序包 程序包 说明 org.springframework.scheduling.config Support package for declarative scheduling configuration, with XML schema being the primary configuration format.org.springframework.scheduling.config中IntervalTask的使用
org.springframework.scheduling.config中IntervalTask的子类 修饰符和类型 类 说明 classFixedDelayTaskSpecialization ofIntervalTaskfor fixed-delay semantics.classFixedRateTaskSpecialization ofIntervalTaskfor fixed-rate semantics.返回变量类型为IntervalTask的类型的org.springframework.scheduling.config中的方法 修饰符和类型 方法 说明 List<IntervalTask>ScheduledTaskRegistrar. getFixedDelayTaskList()Get the fixed-delay tasks as an unmodifiable list ofIntervalTaskobjects.List<IntervalTask>ScheduledTaskRegistrar. getFixedRateTaskList()Get the fixed-rate tasks as an unmodifiable list ofIntervalTaskobjects.参数类型为IntervalTask的org.springframework.scheduling.config中的方法 修饰符和类型 方法 说明 voidScheduledTaskRegistrar. addFixedDelayTask(IntervalTask task)Add a fixed-delayIntervalTask.voidScheduledTaskRegistrar. addFixedRateTask(IntervalTask task)Add a fixed-rateIntervalTask.ScheduledTaskScheduledTaskRegistrar. scheduleFixedDelayTask(IntervalTask task)已过时。as of 5.0.2, in favor ofScheduledTaskRegistrar.scheduleFixedDelayTask(FixedDelayTask)ScheduledTaskScheduledTaskRegistrar. scheduleFixedRateTask(IntervalTask task)已过时。as of 5.0.2, in favor ofScheduledTaskRegistrar.scheduleFixedRateTask(FixedRateTask)类型变量类型为IntervalTask的org.springframework.scheduling.config中的方法参数 修饰符和类型 方法 说明 voidScheduledTaskRegistrar. setFixedDelayTasksList(List<IntervalTask> fixedDelayTasks)Specify fixed-delay tasks as a list ofIntervalTaskobjects.voidScheduledTaskRegistrar. setFixedRateTasksList(List<IntervalTask> fixedRateTasks)Specify fixed-rate tasks as a list ofIntervalTaskobjects.