类的使用
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的子类 修饰符和类型 类 说明 classCronTaskTriggerTaskimplementation defining aRunnableto be executed according to a standard cron expression.classFixedDelayTaskSpecialization ofIntervalTaskfor fixed-delay semantics.classFixedRateTaskSpecialization ofIntervalTaskfor fixed-rate semantics.classIntervalTaskTaskimplementation defining aRunnableto be executed at a given millisecond interval which may be treated as fixed-rate or fixed-delay depending on context.classTriggerTask返回Task的org.springframework.scheduling.config中的方法 修饰符和类型 方法 说明 TaskScheduledTask. getTask()