Package io.temporal.worker.tuning
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 Summary
Constructors Constructor Description WorkflowSlotInfo(io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueResponse response, io.temporal.api.workflowservice.v1.PollWorkflowTaskQueueRequest request)
Don't rely on this constructor.WorkflowSlotInfo(java.lang.String workflowType, java.lang.String taskQueue, java.lang.String workflowId, java.lang.String runId, java.lang.String workerIdentity, java.lang.String workerBuildId, boolean fromStickyQueue)
Don't rely on this constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getRunId()
java.lang.String
getTaskQueue()
java.lang.String
getWorkerBuildId()
java.lang.String
getWorkerIdentity()
java.lang.String
getWorkflowId()
java.lang.String
getWorkflowType()
int
hashCode()
boolean
isFromStickyQueue()
java.lang.String
toString()
-
-
-
Constructor Detail
-
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(java.lang.String workflowType, java.lang.String taskQueue, java.lang.String workflowId, java.lang.String runId, java.lang.String workerIdentity, java.lang.String workerBuildId, boolean fromStickyQueue)
Don't rely on this constructor. It is for internal use by the SDK.
-
-
Method Detail
-
getWorkflowType
public java.lang.String getWorkflowType()
-
getWorkflowId
public java.lang.String getWorkflowId()
-
getRunId
public java.lang.String getRunId()
-
getTaskQueue
public java.lang.String getTaskQueue()
-
getWorkerIdentity
public java.lang.String getWorkerIdentity()
-
getWorkerBuildId
public java.lang.String getWorkerBuildId()
-
isFromStickyQueue
public boolean isFromStickyQueue()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-