ResourceStatistics Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. ResourceStatistics
- com.
public class ResourceStatistics
Statistics related to resource consumption by compute nodes in a pool.
Method Summary
Method Details
avgCPUPercentage
public double avgCPUPercentage()
Get the avgCPUPercentage value.
Returns:
avgDiskGiB
public double avgDiskGiB()
Get the avgDiskGiB value.
Returns:
avgMemoryGiB
public double avgMemoryGiB()
Get the avgMemoryGiB value.
Returns:
diskReadGiB
public double diskReadGiB()
Get the diskReadGiB value.
Returns:
diskReadIOps
public long diskReadIOps()
Get the diskReadIOps value.
Returns:
diskWriteGiB
public double diskWriteGiB()
Get the diskWriteGiB value.
Returns:
diskWriteIOps
public long diskWriteIOps()
Get the diskWriteIOps value.
Returns:
lastUpdateTime
public DateTime lastUpdateTime()
Get the lastUpdateTime value.
Returns:
networkReadGiB
public double networkReadGiB()
Get the networkReadGiB value.
Returns:
networkWriteGiB
public double networkWriteGiB()
Get the networkWriteGiB value.
Returns:
peakDiskGiB
public double peakDiskGiB()
Get the peakDiskGiB value.
Returns:
peakMemoryGiB
public double peakMemoryGiB()
Get the peakMemoryGiB value.
Returns:
startTime
public DateTime startTime()
Get the startTime value.
Returns:
withAvgCPUPercentage
public ResourceStatistics withAvgCPUPercentage(double avgCPUPercentage)
Set the avgCPUPercentage value.
Parameters:
Returns:
withAvgDiskGiB
public ResourceStatistics withAvgDiskGiB(double avgDiskGiB)
Set the avgDiskGiB value.
Parameters:
Returns:
withAvgMemoryGiB
public ResourceStatistics withAvgMemoryGiB(double avgMemoryGiB)
Set the avgMemoryGiB value.
Parameters:
Returns:
withDiskReadGiB
public ResourceStatistics withDiskReadGiB(double diskReadGiB)
Set the diskReadGiB value.
Parameters:
Returns:
withDiskReadIOps
public ResourceStatistics withDiskReadIOps(long diskReadIOps)
Set the diskReadIOps value.
Parameters:
Returns:
withDiskWriteGiB
public ResourceStatistics withDiskWriteGiB(double diskWriteGiB)
Set the diskWriteGiB value.
Parameters:
Returns:
withDiskWriteIOps
public ResourceStatistics withDiskWriteIOps(long diskWriteIOps)
Set the diskWriteIOps value.
Parameters:
Returns:
withLastUpdateTime
public ResourceStatistics withLastUpdateTime(DateTime lastUpdateTime)
Set the lastUpdateTime value.
Parameters:
Returns:
withNetworkReadGiB
public ResourceStatistics withNetworkReadGiB(double networkReadGiB)
Set the networkReadGiB value.
Parameters:
Returns:
withNetworkWriteGiB
public ResourceStatistics withNetworkWriteGiB(double networkWriteGiB)
Set the networkWriteGiB value.
Parameters:
Returns:
withPeakDiskGiB
public ResourceStatistics withPeakDiskGiB(double peakDiskGiB)
Set the peakDiskGiB value.
Parameters:
Returns:
withPeakMemoryGiB
public ResourceStatistics withPeakMemoryGiB(double peakMemoryGiB)
Set the peakMemoryGiB value.
Parameters:
Returns:
withStartTime
public ResourceStatistics withStartTime(DateTime startTime)
Set the startTime value.
Parameters:
Returns: