Class NodeStateCounts


  • public final class NodeStateCounts
    extends Object
    Counts of various compute node states on the amlCompute.
    • Constructor Detail

      • NodeStateCounts

        public NodeStateCounts()
    • Method Detail

      • idleNodeCount

        public Integer idleNodeCount()
        Get the idleNodeCount property: Idle node count. Number of compute nodes in idle state.
        Returns:
        the idleNodeCount value.
      • runningNodeCount

        public Integer runningNodeCount()
        Get the runningNodeCount property: Running node count. Number of compute nodes which are running jobs.
        Returns:
        the runningNodeCount value.
      • preparingNodeCount

        public Integer preparingNodeCount()
        Get the preparingNodeCount property: Preparing node count. Number of compute nodes which are being prepared.
        Returns:
        the preparingNodeCount value.
      • unusableNodeCount

        public Integer unusableNodeCount()
        Get the unusableNodeCount property: Unusable node count. Number of compute nodes which are in unusable state.
        Returns:
        the unusableNodeCount value.
      • leavingNodeCount

        public Integer leavingNodeCount()
        Get the leavingNodeCount property: Leaving node count. Number of compute nodes which are leaving the amlCompute.
        Returns:
        the leavingNodeCount value.
      • preemptedNodeCount

        public Integer preemptedNodeCount()
        Get the preemptedNodeCount property: Preempted node count. Number of compute nodes which are in preempted state.
        Returns:
        the preemptedNodeCount value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.