JobScheduleStatistics Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. JobScheduleStatistics
- com.
public class JobScheduleStatistics
Resource usage statistics for a Job Schedule.
Constructor Summary
Constructor | Description | |
---|---|---|
JobScheduleStatistics() |
Method Summary
Modifier and Type | Method and Description |
---|---|
org.joda.time.Period |
kernelCPUTime()
Get the kernel |
org.joda.time.DateTime |
lastUpdateTime()
Get the last |
long |
numFailedTasks()
Get the num |
long |
numSucceededTasks()
Get the num |
long |
numTaskRetries()
Get the num |
double |
readIOGiB()
Get the read |
long |
readIOps()
Get the read |
org.joda.time.DateTime |
startTime()
Get the start |
String |
url()
Get the url value. |
org.joda.time.Period |
userCPUTime()
Get the user |
org.joda.time.Period |
waitTime()
Get this value is only reported in the Account lifetime statistics; it is not included in the Job statistics. |
org.joda.time.Period |
wallClockTime()
Get 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). |
Job |
withKernelCPUTime(Period kernelCPUTime)
Set the kernel |
Job |
withLastUpdateTime(DateTime lastUpdateTime)
Set the last |
Job |
withNumFailedTasks(long numFailedTasks)
Set the num |
Job |
withNumSucceededTasks(long numSucceededTasks)
Set the num |
Job |
withNumTaskRetries(long numTaskRetries)
Set the num |
Job |
withReadIOGiB(double readIOGiB)
Set the read |
Job |
withReadIOps(long readIOps)
Set the read |
Job |
withStartTime(DateTime startTime)
Set the start |
Job |
withUrl(String url)
Set the url value. |
Job |
withUserCPUTime(Period userCPUTime)
Set the user |
Job |
withWaitTime(Period waitTime)
Set this value is only reported in the Account lifetime statistics; it is not included in the Job statistics. |
Job |
withWallClockTime(Period wallClockTime)
Set 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). |
Job |
withWriteIOGiB(double writeIOGiB)
Set the write |
Job |
withWriteIOps(long writeIOps)
Set the write |
double |
writeIOGiB()
Get the write |
long |
writeIOps()
Get the write |
Methods inherited from java.lang.Object
Constructor Details
JobScheduleStatistics
public JobScheduleStatistics()
Method Details
kernelCPUTime
public Period kernelCPUTime()
Get the kernelCPUTime value.
Returns:
lastUpdateTime
public DateTime lastUpdateTime()
Get the lastUpdateTime value.
Returns:
numFailedTasks
public long numFailedTasks()
Get the numFailedTasks value.
Returns:
numSucceededTasks
public long numSucceededTasks()
Get the numSucceededTasks value.
Returns:
numTaskRetries
public long numTaskRetries()
Get the numTaskRetries value.
Returns:
readIOGiB
public double readIOGiB()
Get the readIOGiB value.
Returns:
readIOps
public long readIOps()
Get the readIOps value.
Returns:
startTime
public DateTime startTime()
Get the startTime value.
Returns:
url
public String url()
Get the url value.
Returns:
userCPUTime
public Period userCPUTime()
Get the userCPUTime value.
Returns:
waitTime
public Period waitTime()
Get this value is only reported in the Account lifetime statistics; it is not included in the Job statistics.
Returns:
wallClockTime
public Period wallClockTime()
Get 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:
withKernelCPUTime
public JobScheduleStatistics withKernelCPUTime(Period kernelCPUTime)
Set the kernelCPUTime value.
Parameters:
Returns:
withLastUpdateTime
public JobScheduleStatistics withLastUpdateTime(DateTime lastUpdateTime)
Set the lastUpdateTime value.
Parameters:
Returns:
withNumFailedTasks
public JobScheduleStatistics withNumFailedTasks(long numFailedTasks)
Set the numFailedTasks value.
Parameters:
Returns:
withNumSucceededTasks
public JobScheduleStatistics withNumSucceededTasks(long numSucceededTasks)
Set the numSucceededTasks value.
Parameters:
Returns:
withNumTaskRetries
public JobScheduleStatistics withNumTaskRetries(long numTaskRetries)
Set the numTaskRetries value.
Parameters:
Returns:
withReadIOGiB
public JobScheduleStatistics withReadIOGiB(double readIOGiB)
Set the readIOGiB value.
Parameters:
Returns:
withReadIOps
public JobScheduleStatistics withReadIOps(long readIOps)
Set the readIOps value.
Parameters:
Returns:
withStartTime
public JobScheduleStatistics withStartTime(DateTime startTime)
Set the startTime value.
Parameters:
Returns:
withUrl
public JobScheduleStatistics withUrl(String url)
Set the url value.
Parameters:
Returns:
withUserCPUTime
public JobScheduleStatistics withUserCPUTime(Period userCPUTime)
Set the userCPUTime value.
Parameters:
Returns:
withWaitTime
public JobScheduleStatistics withWaitTime(Period waitTime)
Set this value is only reported in the Account lifetime statistics; it is not included in the Job statistics.
Parameters:
Returns:
withWallClockTime
public JobScheduleStatistics withWallClockTime(Period wallClockTime)
Set 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.
Parameters:
Returns:
withWriteIOGiB
public JobScheduleStatistics withWriteIOGiB(double writeIOGiB)
Set the writeIOGiB value.
Parameters:
Returns:
withWriteIOps
public JobScheduleStatistics withWriteIOps(long writeIOps)
Set the writeIOps value.
Parameters:
Returns:
writeIOGiB
public double writeIOGiB()
Get the writeIOGiB value.
Returns:
writeIOps
public long writeIOps()
Get the writeIOps value.
Returns: