Class StatusEmitterInvoker

java.lang.Object
io.quarkus.scheduler.common.runtime.DelegateInvoker
io.quarkus.scheduler.common.runtime.StatusEmitterInvoker
All Implemented Interfaces:
ScheduledInvoker

public final class StatusEmitterInvoker extends DelegateInvoker
An invoker wrapper that fires CDI events when an execution of a scheduled method is finished.
See Also:
  • SuccessfulExecution
  • FailedExecution
  • Constructor Details

    • StatusEmitterInvoker

      public StatusEmitterInvoker(ScheduledInvoker delegate, jakarta.enterprise.event.Event<io.quarkus.scheduler.SuccessfulExecution> successfulEvent, jakarta.enterprise.event.Event<io.quarkus.scheduler.FailedExecution> failedEvent)
  • Method Details

    • invoke

      public CompletionStage<Void> invoke(io.quarkus.scheduler.ScheduledExecution execution) throws Exception
      Parameters:
      execution -
      Returns:
      the result, never null
      Throws:
      Exception