Class NodeTaskQueue
java.lang.Object
co.yellowdog.platform.model.NodeTaskQueue
- All Implemented Interfaces:
Serializable
Describes the current state of a node's local task queue for a specific task group.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic NodeTaskQueue.Builderbuilder()protected booleanbooleandoubleA value between 0 and 1 showing the current utilisation as a percentage of time available spent working for the workers claimed for the task group on this node.inthashCode()voidsetWorkerUtilisation(double workerUtilisation) A value between 0 and 1 showing the current utilisation as a percentage of time available spent working for the workers claimed for the task group on this node.toString()
-
Method Details
-
builder
-
getWorkerUtilisation
public double getWorkerUtilisation()A value between 0 and 1 showing the current utilisation as a percentage of time available spent working for the workers claimed for the task group on this node.- Returns:
- the worker utilisation percentage 0..1
-
setWorkerUtilisation
public void setWorkerUtilisation(double workerUtilisation) A value between 0 and 1 showing the current utilisation as a percentage of time available spent working for the workers claimed for the task group on this node. -
equals
-
canEqual
-
hashCode
-
toString
-