Class SkipPredicateInvoker
java.lang.Object
io.quarkus.scheduler.common.runtime.DelegateInvoker
io.quarkus.scheduler.common.runtime.SkipPredicateInvoker
- All Implemented Interfaces:
ScheduledInvoker
A scheduled invoker wrapper that skips the execution if the predicate evaluates to true.
- See Also:
-
Field Summary
Fields inherited from class io.quarkus.scheduler.common.runtime.DelegateInvoker
delegate -
Constructor Summary
ConstructorsConstructorDescriptionSkipPredicateInvoker(ScheduledInvoker delegate, Scheduled.SkipPredicate predicate, jakarta.enterprise.event.Event<SkippedExecution> event) -
Method Summary
Methods inherited from class io.quarkus.scheduler.common.runtime.DelegateInvoker
invokeComplete, invokeDelegate, isBlocking, isRunningOnVirtualThread
-
Constructor Details
-
SkipPredicateInvoker
public SkipPredicateInvoker(ScheduledInvoker delegate, Scheduled.SkipPredicate predicate, jakarta.enterprise.event.Event<SkippedExecution> event)
-
-
Method Details
-
invoke
- Returns:
- the result, never
null - Throws:
Exception
-