Class Priority
java.lang.Object
io.temporal.common.Priority
Priority contains metadata that controls the relative ordering of task processing when tasks are
backed up in a queue. The affected queues depend on the server version.
Priority is attached to workflows and activities. By default, activities and child workflows inherit Priority from the workflow that created them, but may override fields when an activity is started or modified.
For all fields, the field not present or equal to zero/empty string means to inherit the value from the calling workflow, or if there is no calling workflow, then use the default value.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PriorityfloatintinthashCode()static Priority.BuildertoString()
-
Method Details
-
newBuilder
-
getDefaultInstance
-
getPriorityKey
-
getFairnessKey
- Returns:
- The fairness key
-
getFairnessWeight
public float getFairnessWeight()- Returns:
- The fairness weight
-
toString
-
equals
-
hashCode
-