Class DelayedExecutionInvoker

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

public class DelayedExecutionInvoker extends DelegateInvoker
Delays execution of a scheduled task.
See Also:
  • Scheduled.executionMaxDelay()
  • Constructor Details

    • DelayedExecutionInvoker

      public DelayedExecutionInvoker(ScheduledInvoker delegate, long maxDelay, ScheduledExecutorService executor, jakarta.enterprise.event.Event<io.quarkus.scheduler.DelayedExecution> event)
  • Method Details

    • invoke

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