Class NodeTaskQueue

java.lang.Object
co.yellowdog.platform.model.NodeTaskQueue
All Implemented Interfaces:
Serializable

public class NodeTaskQueue extends Object implements Serializable
Describes the current state of a node's local task queue for a specific task group.
See Also:
  • Method Details

    • builder

      public static NodeTaskQueue.Builder 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

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object