ResourceStatistics Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.ResourceStatistics

public class ResourceStatistics

Statistics related to resource consumption by compute nodes in a pool.

Method Summary

Modifier and Type Method and Description
double avgCPUPercentage()

Get the avgCPUPercentage value.

double avgDiskGiB()

Get the avgDiskGiB value.

double avgMemoryGiB()

Get the avgMemoryGiB value.

double diskReadGiB()

Get the diskReadGiB value.

long diskReadIOps()

Get the diskReadIOps value.

double diskWriteGiB()

Get the diskWriteGiB value.

long diskWriteIOps()

Get the diskWriteIOps value.

DateTime lastUpdateTime()

Get the lastUpdateTime value.

double networkReadGiB()

Get the networkReadGiB value.

double networkWriteGiB()

Get the networkWriteGiB value.

double peakDiskGiB()

Get the peakDiskGiB value.

double peakMemoryGiB()

Get the peakMemoryGiB value.

DateTime startTime()

Get the startTime value.

ResourceStatistics withAvgCPUPercentage(double avgCPUPercentage)

Set the avgCPUPercentage value.

ResourceStatistics withAvgDiskGiB(double avgDiskGiB)

Set the avgDiskGiB value.

ResourceStatistics withAvgMemoryGiB(double avgMemoryGiB)

Set the avgMemoryGiB value.

ResourceStatistics withDiskReadGiB(double diskReadGiB)

Set the diskReadGiB value.

ResourceStatistics withDiskReadIOps(long diskReadIOps)

Set the diskReadIOps value.

ResourceStatistics withDiskWriteGiB(double diskWriteGiB)

Set the diskWriteGiB value.

ResourceStatistics withDiskWriteIOps(long diskWriteIOps)

Set the diskWriteIOps value.

ResourceStatistics withLastUpdateTime(DateTime lastUpdateTime)

Set the lastUpdateTime value.

ResourceStatistics withNetworkReadGiB(double networkReadGiB)

Set the networkReadGiB value.

ResourceStatistics withNetworkWriteGiB(double networkWriteGiB)

Set the networkWriteGiB value.

ResourceStatistics withPeakDiskGiB(double peakDiskGiB)

Set the peakDiskGiB value.

ResourceStatistics withPeakMemoryGiB(double peakMemoryGiB)

Set the peakMemoryGiB value.

ResourceStatistics withStartTime(DateTime startTime)

Set the startTime value.

Method Details

avgCPUPercentage

public double avgCPUPercentage()

Get the avgCPUPercentage value.

Returns:

the avgCPUPercentage value

avgDiskGiB

public double avgDiskGiB()

Get the avgDiskGiB value.

Returns:

the avgDiskGiB value

avgMemoryGiB

public double avgMemoryGiB()

Get the avgMemoryGiB value.

Returns:

the avgMemoryGiB value

diskReadGiB

public double diskReadGiB()

Get the diskReadGiB value.

Returns:

the diskReadGiB value

diskReadIOps

public long diskReadIOps()

Get the diskReadIOps value.

Returns:

the diskReadIOps value

diskWriteGiB

public double diskWriteGiB()

Get the diskWriteGiB value.

Returns:

the diskWriteGiB value

diskWriteIOps

public long diskWriteIOps()

Get the diskWriteIOps value.

Returns:

the diskWriteIOps value

lastUpdateTime

public DateTime lastUpdateTime()

Get the lastUpdateTime value.

Returns:

the lastUpdateTime value

networkReadGiB

public double networkReadGiB()

Get the networkReadGiB value.

Returns:

the networkReadGiB value

networkWriteGiB

public double networkWriteGiB()

Get the networkWriteGiB value.

Returns:

the networkWriteGiB value

peakDiskGiB

public double peakDiskGiB()

Get the peakDiskGiB value.

Returns:

the peakDiskGiB value

peakMemoryGiB

public double peakMemoryGiB()

Get the peakMemoryGiB value.

Returns:

the peakMemoryGiB value

startTime

public DateTime startTime()

Get the startTime value.

Returns:

the startTime value

withAvgCPUPercentage

public ResourceStatistics withAvgCPUPercentage(double avgCPUPercentage)

Set the avgCPUPercentage value.

Parameters:

avgCPUPercentage - the avgCPUPercentage value to set

Returns:

the ResourceStatistics object itself.

withAvgDiskGiB

public ResourceStatistics withAvgDiskGiB(double avgDiskGiB)

Set the avgDiskGiB value.

Parameters:

avgDiskGiB - the avgDiskGiB value to set

Returns:

the ResourceStatistics object itself.

withAvgMemoryGiB

public ResourceStatistics withAvgMemoryGiB(double avgMemoryGiB)

Set the avgMemoryGiB value.

Parameters:

avgMemoryGiB - the avgMemoryGiB value to set

Returns:

the ResourceStatistics object itself.

withDiskReadGiB

public ResourceStatistics withDiskReadGiB(double diskReadGiB)

Set the diskReadGiB value.

Parameters:

diskReadGiB - the diskReadGiB value to set

Returns:

the ResourceStatistics object itself.

withDiskReadIOps

public ResourceStatistics withDiskReadIOps(long diskReadIOps)

Set the diskReadIOps value.

Parameters:

diskReadIOps - the diskReadIOps value to set

Returns:

the ResourceStatistics object itself.

withDiskWriteGiB

public ResourceStatistics withDiskWriteGiB(double diskWriteGiB)

Set the diskWriteGiB value.

Parameters:

diskWriteGiB - the diskWriteGiB value to set

Returns:

the ResourceStatistics object itself.

withDiskWriteIOps

public ResourceStatistics withDiskWriteIOps(long diskWriteIOps)

Set the diskWriteIOps value.

Parameters:

diskWriteIOps - the diskWriteIOps value to set

Returns:

the ResourceStatistics object itself.

withLastUpdateTime

public ResourceStatistics withLastUpdateTime(DateTime lastUpdateTime)

Set the lastUpdateTime value.

Parameters:

lastUpdateTime - the lastUpdateTime value to set

Returns:

the ResourceStatistics object itself.

withNetworkReadGiB

public ResourceStatistics withNetworkReadGiB(double networkReadGiB)

Set the networkReadGiB value.

Parameters:

networkReadGiB - the networkReadGiB value to set

Returns:

the ResourceStatistics object itself.

withNetworkWriteGiB

public ResourceStatistics withNetworkWriteGiB(double networkWriteGiB)

Set the networkWriteGiB value.

Parameters:

networkWriteGiB - the networkWriteGiB value to set

Returns:

the ResourceStatistics object itself.

withPeakDiskGiB

public ResourceStatistics withPeakDiskGiB(double peakDiskGiB)

Set the peakDiskGiB value.

Parameters:

peakDiskGiB - the peakDiskGiB value to set

Returns:

the ResourceStatistics object itself.

withPeakMemoryGiB

public ResourceStatistics withPeakMemoryGiB(double peakMemoryGiB)

Set the peakMemoryGiB value.

Parameters:

peakMemoryGiB - the peakMemoryGiB value to set

Returns:

the ResourceStatistics object itself.

withStartTime

public ResourceStatistics withStartTime(DateTime startTime)

Set the startTime value.

Parameters:

startTime - the startTime value to set

Returns:

the ResourceStatistics object itself.

Applies to