Class WorkflowSlotInfo

java.lang.Object
io.temporal.worker.tuning.SlotInfo
io.temporal.worker.tuning.WorkflowSlotInfo

public class WorkflowSlotInfo extends SlotInfo
Contains information about a slot that is being used to execute a workflow task.
  • Constructor Details

    • WorkflowSlotInfo

      public WorkflowSlotInfo(@Nonnull io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse response, @Nonnull io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest request)
      Don't rely on this constructor. It is for internal use by the SDK.
    • WorkflowSlotInfo

      public WorkflowSlotInfo(String workflowType, String taskQueue, String workflowId, String runId, String workerIdentity, String workerBuildId, boolean fromStickyQueue)
      Don't rely on this constructor. It is for internal use by the SDK.
  • Method Details

    • getWorkflowType

      public String getWorkflowType()
    • getWorkflowId

      public String getWorkflowId()
    • getRunId

      public String getRunId()
    • getTaskQueue

      public String getTaskQueue()
    • getWorkerIdentity

      public String getWorkerIdentity()
    • getWorkerBuildId

      public String getWorkerBuildId()
    • isFromStickyQueue

      public boolean isFromStickyQueue()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object