接口的使用
org.springframework.scheduling.TriggerContext
使用TriggerContext的程序包 程序包 说明 org.springframework.scheduling General exceptions for Spring's scheduling support, independent of any specific scheduling system.org.springframework.scheduling.support Generic support classes for scheduling.org.springframework.scheduling中TriggerContext的使用
参数类型为TriggerContext的org.springframework.scheduling中的方法 修饰符和类型 方法 说明 Date
Trigger. nextExecutionTime(TriggerContext triggerContext)
Determine the next execution time according to the given trigger context.org.springframework.scheduling.support中TriggerContext的使用
实现TriggerContext的org.springframework.scheduling.support中的类 修饰符和类型 类 说明 class
SimpleTriggerContext
Simple data holder implementation of theTriggerContext
interface.参数类型为TriggerContext的org.springframework.scheduling.support中的方法 修饰符和类型 方法 说明 Date
CronTrigger. nextExecutionTime(TriggerContext triggerContext)
Determine the next execution time according to the given trigger context.Date
PeriodicTrigger. nextExecutionTime(TriggerContext triggerContext)
Returns the time after which a task should run again.