Class DurableRunner

java.lang.Object
io.dapr.durabletask.runner.DurableRunner
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
ActivityRunner, OrchestratorRunner

public abstract class DurableRunner extends Object implements Runnable
  • Field Details

  • Constructor Details

    • DurableRunner

      public DurableRunner(OrchestratorService.WorkItem workItem, TaskHubSidecarServiceGrpc.TaskHubSidecarServiceBlockingStub sidecarClient, @Nullable io.opentelemetry.api.trace.Tracer tracer)
      Constructs a new instance of the DurableRunner.
      Parameters:
      workItem - the work item to be executed
      sidecarClient - the sidecar client used to communicate with the durable task sidecar
      tracer - the tracer used for tracing operations; can be null if tracing is not required
  • Method Details

    • getSidecarAddress

      protected String getSidecarAddress()
    • logException

      protected void logException(io.grpc.StatusRuntimeException e)