Class QueryReplayHelper

java.lang.Object
io.temporal.internal.worker.QueryReplayHelper

public class QueryReplayHelper extends Object
Encapsulates a special query implementation for replaying workflow histories to support Worker.replayWorkflowExecution(io.temporal.internal.common.WorkflowExecutionHistory)

The implementation in this class doesn't execute under runId lock used in the main code path of Worker, so it shouldn't be using the workflow cache either.

  • Constructor Details

    • QueryReplayHelper

      public QueryReplayHelper(WorkflowTaskHandler nonStickyHandler)
      Parameters:
      nonStickyHandler - it's important for this handler to be non-sticky. Otherwise, we will be working with workflow cache without obtaining a runId lock.
  • Method Details