mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-02 20:49:02 +00:00
Update Trigger & TriggerContext reference documentation
Closes gh-29702
This commit is contained in:
@@ -179,7 +179,7 @@ is quite simple, as the following listing shows:
|
||||
----
|
||||
public interface Trigger {
|
||||
|
||||
Date nextExecutionTime(TriggerContext triggerContext);
|
||||
Instant nextExecution(TriggerContext triggerContext);
|
||||
}
|
||||
----
|
||||
|
||||
@@ -192,11 +192,11 @@ default). The following listing shows the available methods for `Trigger` implem
|
||||
----
|
||||
public interface TriggerContext {
|
||||
|
||||
Date lastScheduledExecutionTime();
|
||||
Instant lastScheduledExecution();
|
||||
|
||||
Date lastActualExecutionTime();
|
||||
Instant lastActualExecution();
|
||||
|
||||
Date lastCompletionTime();
|
||||
Instant lastCompletion();
|
||||
}
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user