BatchPoolResourceStatistics Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchPoolResourceStatistics
- com.
Implements
public final class BatchPoolResourceStatistics
implements JsonSerializable<BatchPoolResourceStatistics>
Statistics related to resource consumption by Compute Nodes in a Pool.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| double |
getAvgCpuPercentage()
Get the avg |
| double |
getAvgDiskGiB()
Get the avg |
| double |
getAvgMemoryGiB()
Get the avg |
| double |
getDiskReadGiB()
Get the disk |
| long |
getDiskReadIops()
Get the disk |
| double |
getDiskWriteGiB()
Get the disk |
| long |
getDiskWriteIops()
Get the disk |
|
Offset |
getLastUpdateTime()
Get the last |
| double |
getNetworkReadGiB()
Get the network |
| double |
getNetworkWriteGiB()
Get the network |
| double |
getPeakDiskGiB()
Get the peak |
| double |
getPeakMemoryGiB()
Get the peak |
|
Offset |
getStartTime()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchPoolResourceStatistics fromJson(JsonReader jsonReader)
Reads an instance of BatchPoolResourceStatistics from the JsonReader.
Parameters:
Returns:
Throws:
getAvgCpuPercentage
public double getAvgCpuPercentage()
Get the avgCpuPercentage property: The average CPU usage across all Compute Nodes in the Pool (percentage per node).
Returns:
getAvgDiskGiB
public double getAvgDiskGiB()
Get the avgDiskGiB property: The average used disk space in GiB across all Compute Nodes in the Pool.
Returns:
getAvgMemoryGiB
public double getAvgMemoryGiB()
Get the avgMemoryGiB property: The average memory usage in GiB across all Compute Nodes in the Pool.
Returns:
getDiskReadGiB
public double getDiskReadGiB()
Get the diskReadGiB property: The total amount of data in GiB of disk reads across all Compute Nodes in the Pool.
Returns:
getDiskReadIops
public long getDiskReadIops()
Get the diskReadIops property: The total number of disk read operations across all Compute Nodes in the Pool.
Returns:
getDiskWriteGiB
public double getDiskWriteGiB()
Get the diskWriteGiB property: The total amount of data in GiB of disk writes across all Compute Nodes in the Pool.
Returns:
getDiskWriteIops
public long getDiskWriteIops()
Get the diskWriteIops property: The total number of disk write operations across all Compute Nodes in the Pool.
Returns:
getLastUpdateTime
public OffsetDateTime getLastUpdateTime()
Get the lastUpdateTime property: The time at which the statistics were last updated. All statistics are limited to the range between startTime and lastUpdateTime.
Returns:
getNetworkReadGiB
public double getNetworkReadGiB()
Get the networkReadGiB property: The total amount of data in GiB of network reads across all Compute Nodes in the Pool.
Returns:
getNetworkWriteGiB
public double getNetworkWriteGiB()
Get the networkWriteGiB property: The total amount of data in GiB of network writes across all Compute Nodes in the Pool.
Returns:
getPeakDiskGiB
public double getPeakDiskGiB()
Get the peakDiskGiB property: The peak used disk space in GiB across all Compute Nodes in the Pool.
Returns:
getPeakMemoryGiB
public double getPeakMemoryGiB()
Get the peakMemoryGiB property: The peak memory usage in GiB across all Compute Nodes in the Pool.
Returns:
getStartTime
public OffsetDateTime getStartTime()
Get the startTime property: The start time of the time range covered by the statistics.
Returns: