Interface AfterTriggerEvaluator
- All Known Subinterfaces:
TriggerEvaluator
- All Known Implementing Classes:
DefaultTriggerEvaluator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents for the trigger context checker on after trigger
- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescription@NotNull io.vertx.core.Future<TriggerContext>
afterTrigger
(@NotNull Trigger trigger, @NotNull TriggerContext triggerContext, @Nullable Object externalId, long round) Verify if the trigger should stop executing immediately after one round of execution begins.
-
Method Details
-
afterTrigger
@NotNull @NotNull io.vertx.core.Future<TriggerContext> afterTrigger(@NotNull @NotNull Trigger trigger, @NotNull @NotNull TriggerContext triggerContext, @Nullable @Nullable Object externalId, long round) Verify if the trigger should stop executing immediately after one round of execution begins.- Parameters:
trigger
- the triggertriggerContext
- the trigger contextexternalId
- the job external idround
- the current execution round- Since:
- 2.0.0
- Implementation Note:
- Once
triggerContext
statusTriggerContext.isStopped()
istrue
, the evaluation operation is stopped immediately, means the follow evaluators will not be invoked.
-