接口 TriggerContext
- 所有已知实现类:
SimpleTriggerContext
public interface TriggerContext
Context object encapsulating last execution times and last completion time
of a given task.
- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller, Harry Yang
-
方法概要
修饰符和类型方法说明default ClockgetClock()Return the clock to use for trigger calculation.Return the last actual execution time of the task, ornullif not scheduled before.default Date已过时。Return the last completion time of the task, ornullif not scheduled before.default Date已过时。Return the last scheduled execution time of the task, ornullif not scheduled before.default Date已过时。
-
方法详细资料
-
getClock
Return the clock to use for trigger calculation. -
lastScheduledExecutionTime
已过时。Return the last scheduled execution time of the task, ornullif not scheduled before. -
lastScheduledExecution
Return the last scheduled execution time of the task, ornullif not scheduled before. -
lastActualExecutionTime
已过时。Return the last actual execution time of the task, ornullif not scheduled before. -
lastActualExecution
Return the last actual execution time of the task, ornullif not scheduled before. -
lastCompletionTime
已过时。Return the last completion time of the task, ornullif not scheduled before. -
lastCompletion
Return the last completion time of the task, ornullif not scheduled before.
-