NodeStateCounts Class

  • java.lang.Object
    • com.microsoft.azure.management.batchai.NodeStateCounts

public class NodeStateCounts

Counts of various compute node states on the cluster.

Method Summary

Modifier and Type Method and Description
Integer idleNodeCount()

Get number of compute nodes in idle state.

Integer leavingNodeCount()

Get number of compute nodes which are leaving the cluster.

Integer preparingNodeCount()

Get number of compute nodes which are being prepared.

Integer runningNodeCount()

Get number of compute nodes which are running jobs.

Integer unusableNodeCount()

Get number of compute nodes which are in unusable state.

Method Details

idleNodeCount

public Integer idleNodeCount()

Get number of compute nodes in idle state.

Returns:

the idleNodeCount value

leavingNodeCount

public Integer leavingNodeCount()

Get number of compute nodes which are leaving the cluster.

Returns:

the leavingNodeCount value

preparingNodeCount

public Integer preparingNodeCount()

Get number of compute nodes which are being prepared.

Returns:

the preparingNodeCount value

runningNodeCount

public Integer runningNodeCount()

Get number of compute nodes which are running jobs.

Returns:

the runningNodeCount value

unusableNodeCount

public Integer unusableNodeCount()

Get number of compute nodes which are in unusable state.

Returns:

the unusableNodeCount value

Applies to