BatchTaskStatistics Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchTaskStatistics
- com.
Implements
public final class BatchTaskStatistics
implements JsonSerializable<BatchTaskStatistics>
Resource usage statistics for a Task.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| Duration |
getKernelCpuTime()
Get the kernel |
|
Offset |
getLastUpdateTime()
Get the last |
| double |
getReadIoGiB()
Get the read |
| long |
getReadIops()
Get the read |
|
Offset |
getStartTime()
Get the start |
| String |
getUrl()
Get the url property: The URL of the statistics. |
| Duration |
getUserCpuTime()
Get the user |
| Duration |
getWaitTime()
Get the wait |
| Duration |
getWallClockTime()
Get the wall |
| double |
getWriteIoGiB()
Get the write |
| long |
getWriteIops()
Get the write |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static BatchTaskStatistics fromJson(JsonReader jsonReader)
Reads an instance of BatchTaskStatistics from the JsonReader.
Parameters:
Returns:
Throws:
getKernelCpuTime
public Duration getKernelCpuTime()
Get the kernelCpuTime property: The total kernel mode CPU time (summed across all cores and all Compute Nodes) consumed by the Task.
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:
getReadIoGiB
public double getReadIoGiB()
Get the readIoGiB property: The total gibibytes read from disk by the Task.
Returns:
getReadIops
public long getReadIops()
Get the readIops property: The total number of disk read operations made by the Task.
Returns:
getStartTime
public OffsetDateTime getStartTime()
Get the startTime property: The start time of the time range covered by the statistics.
Returns:
getUrl
public String getUrl()
Get the url property: The URL of the statistics.
Returns:
getUserCpuTime
public Duration getUserCpuTime()
Get the userCpuTime property: The total user mode CPU time (summed across all cores and all Compute Nodes) consumed by the Task.
Returns:
getWaitTime
public Duration getWaitTime()
Get the waitTime property: The total wait time of the Task. The wait time for a Task is defined as the elapsed time between the creation of the Task and the start of Task execution. (If the Task is retried due to failures, the wait time is the time to the most recent Task execution.).
Returns:
getWallClockTime
public Duration getWallClockTime()
Get the wallClockTime property: The total wall clock time of the Task. The wall clock time is the elapsed time from when the Task started running on a Compute Node to when it finished (or to the last time the statistics were updated, if the Task had not finished by then). If the Task was retried, this includes the wall clock time of all the Task retries.
Returns:
getWriteIoGiB
public double getWriteIoGiB()
Get the writeIoGiB property: The total gibibytes written to disk by the Task.
Returns:
getWriteIops
public long getWriteIops()
Get the writeIops property: The total number of disk write operations made by the Task.
Returns: