BatchJobScheduleStatistics Class
- java.
lang. Object - com.
azure. compute. batch. models. BatchJobScheduleStatistics
- com.
Implements
public final class BatchJobScheduleStatistics
implements JsonSerializable<BatchJobScheduleStatistics>
Resource usage statistics for a Job Schedule.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromJson(JsonReader jsonReader)
Reads an instance of Batch |
| long |
getFailedTasksCount()
Get the failed |
| 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 |
| long |
getSucceededTasksCount()
Get the succeeded |
| long |
getTaskRetriesCount()
Get the task |
| 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 BatchJobScheduleStatistics fromJson(JsonReader jsonReader)
Reads an instance of BatchJobScheduleStatistics from the JsonReader.
Parameters:
Returns:
Throws:
getFailedTasksCount
public long getFailedTasksCount()
Get the failedTasksCount property: The total number of Tasks that failed during the given time range in Jobs created under the schedule. A Task fails if it exhausts its maximum retry count without returning exit code 0.
Returns:
getKernelCpuTime
public Duration getKernelCpuTime()
Get the kernelCpuTime property: The total kernel mode CPU time (summed across all cores and all Compute Nodes) consumed by all Tasks in all Jobs created under the schedule.
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 all Tasks in all Jobs created under the schedule.
Returns:
getReadIops
public long getReadIops()
Get the readIops property: The total number of disk read operations made by all Tasks in all Jobs created under the schedule.
Returns:
getStartTime
public OffsetDateTime getStartTime()
Get the startTime property: The start time of the time range covered by the statistics.
Returns:
getSucceededTasksCount
public long getSucceededTasksCount()
Get the succeededTasksCount property: The total number of Tasks successfully completed during the given time range in Jobs created under the schedule. A Task completes successfully if it returns exit code 0.
Returns:
getTaskRetriesCount
public long getTaskRetriesCount()
Get the taskRetriesCount property: The total number of retries during the given time range on all Tasks in all Jobs created under the schedule.
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 all Tasks in all Jobs created under the schedule.
Returns:
getWaitTime
public Duration getWaitTime()
Get the waitTime property: The total wait time of all Tasks in all Jobs created under the schedule. 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.). This value is only reported in the Account lifetime statistics; it is not included in the Job statistics.
Returns:
getWallClockTime
public Duration getWallClockTime()
Get the wallClockTime property: The total wall clock time of all the Tasks in all the Jobs created under the schedule. 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 a 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 all Tasks in all Jobs created under the schedule.
Returns:
getWriteIops
public long getWriteIops()
Get the writeIops property: The total number of disk write operations made by all Tasks in all Jobs created under the schedule.
Returns: