Class WaitForDelegate

java.lang.Object
io.axoniq.framework.workflow.runtime.execution.AbstractStepExecutor
io.axoniq.framework.workflow.runtime.execution.WaitForDelegate
All Implemented Interfaces:
WaitForPrimitive

@Internal public class WaitForDelegate extends AbstractStepExecutor implements WaitForPrimitive
Delegate implementing WaitForPrimitive.
Since:
5.4.0
Author:
Stefan Dragisic, Simon Zambrovski
  • Constructor Details

    • WaitForDelegate

      @Internal public WaitForDelegate(WorkflowExecutionOperations workflowExecutionOperations, WorkflowExecution workflowExecution, RunningSteps runningSteps, io.axoniq.framework.workflow.runtime.execution.EventWaitConditions eventWaitConditions, ReachedSteps reachedSteps, EventNameCustomizer parentEventNameCustomizer, Clock clock, WorkflowScheduler timeoutScheduler)
      Constructs the delegate.
      Parameters:
      workflowExecutionOperations - runtime primitive-operation surface
      workflowExecution - workflow state.
      runningSteps - running step registry
      eventWaitConditions - event wait condition registry
      reachedSteps - reached steps tracker
      parentEventNameCustomizer - parent event name customizer.
      clock - clock for time calculations.
      timeoutScheduler - scheduler for workflow step timeouts
      unitOfWorkFactory - unit of work factory for creation of new process contexts.
      eventSink - event sink to publish events.
      executor - executor to offload threads from main thread.
  • Method Details