TaskScheduler#schedule(Runnable, Trigger), org.springframework.scheduling.support.CronTrigger
| Modifier and Type | Method and Description |
|---|---|
| public Instant | Returns: the next execution time as defined by the trigger, ornull if the trigger won't fire anymorecontext object encapsulating last execution times
and last completion time triggerContext)Determine the next execution time according to the given trigger context. |
| public default Date | Returns: the next execution time as defined by the trigger, ornull if the trigger won't fire anymorecontext object encapsulating last execution times
and last completion time triggerContext)
Deprecated
since 6.0. as of 6.0, in favor of
Determine the next execution time according to the given trigger context.
nextExecution(TriggerContext)
|
| nextExecution | back to summary |
|---|---|
| public Instant nextExecution(TriggerContext triggerContext) Determine the next execution time according to the given trigger context.
| |
| nextExecutionTime | back to summary |
|---|---|
| public default Date nextExecutionTime(TriggerContext triggerContext)
Determine the next execution time according to the given trigger context. The default implementation delegates to
| |