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.
Constructor Summary
Constructor | Description | |
---|---|---|
ResourceStatistics() |
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
avgCPUPercentage()
Get the avg |
double |
avgDiskGiB()
Get the avg |
double |
avgMemoryGiB()
Get the avg |
double |
diskReadGiB()
Get the disk |
long |
diskReadIOps()
Get the disk |
double |
diskWriteGiB()
Get the disk |
long |
diskWriteIOps()
Get the disk |
org.joda.time.DateTime |
lastUpdateTime()
Get the last |
double |
networkReadGiB()
Get the network |
double |
networkWriteGiB()
Get the network |
double |
peakDiskGiB()
Get the peak |
double |
peakMemoryGiB()
Get the peak |
org.joda.time.DateTime |
startTime()
Get the start |
Resource |
withAvgCPUPercentage(double avgCPUPercentage)
Set the avg |
Resource |
withAvgDiskGiB(double avgDiskGiB)
Set the avg |
Resource |
withAvgMemoryGiB(double avgMemoryGiB)
Set the avg |
Resource |
withDiskReadGiB(double diskReadGiB)
Set the disk |
Resource |
withDiskReadIOps(long diskReadIOps)
Set the disk |
Resource |
withDiskWriteGiB(double diskWriteGiB)
Set the disk |
Resource |
withDiskWriteIOps(long diskWriteIOps)
Set the disk |
Resource |
withLastUpdateTime(DateTime lastUpdateTime)
Set the last |
Resource |
withNetworkReadGiB(double networkReadGiB)
Set the network |
Resource |
withNetworkWriteGiB(double networkWriteGiB)
Set the network |
Resource |
withPeakDiskGiB(double peakDiskGiB)
Set the peak |
Resource |
withPeakMemoryGiB(double peakMemoryGiB)
Set the peak |
Resource |
withStartTime(DateTime startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
ResourceStatistics
public ResourceStatistics()
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:
Applies to
Azure SDK for Java