TaskStatistics Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. TaskStatistics
- com.
public class TaskStatistics
Resource usage statistics for a task.
Method Summary
Modifier and Type | Method and Description |
---|---|
Period |
kernelCPUTime()
Get the kernelCPUTime value. |
DateTime |
lastUpdateTime()
Get the lastUpdateTime value. |
double |
readIOGiB()
Get the readIOGiB value. |
long |
readIOps()
Get the readIOps value. |
DateTime |
startTime()
Get the startTime value. |
String |
url()
Get the url value. |
Period |
userCPUTime()
Get the userCPUTime value. |
Period |
waitTime()
Get the waitTime value. |
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 the task was retried, this includes the wall clock time of all the task retries. |
Task |
withKernelCPUTime(Period kernelCPUTime)
Set the kernelCPUTime value. |
Task |
withLastUpdateTime(DateTime lastUpdateTime)
Set the lastUpdateTime value. |
Task |
withReadIOGiB(double readIOGiB)
Set the readIOGiB value. |
Task |
withReadIOps(long readIOps)
Set the readIOps value. |
Task |
withStartTime(DateTime startTime)
Set the startTime value. |
Task |
withUrl(String url)
Set the url value. |
Task |
withUserCPUTime(Period userCPUTime)
Set the userCPUTime value. |
Task |
withWaitTime(Period waitTime)
Set the waitTime value. |
Task |
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 the task was retried, this includes the wall clock time of all the task retries. |
Task |
withWriteIOGiB(double writeIOGiB)
Set the writeIOGiB value. |
Task |
withWriteIOps(long writeIOps)
Set the writeIOps value. |
double |
writeIOGiB()
Get the writeIOGiB value. |
long |
writeIOps()
Get the writeIOps value. |
Method Details
kernelCPUTime
public Period kernelCPUTime()
Get the kernelCPUTime value.
Returns:
lastUpdateTime
public DateTime lastUpdateTime()
Get the lastUpdateTime 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 the waitTime value.
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 the task was retried, this includes the wall clock time of all the task retries.
Returns:
withKernelCPUTime
public TaskStatistics withKernelCPUTime(Period kernelCPUTime)
Set the kernelCPUTime value.
Parameters:
Returns:
withLastUpdateTime
public TaskStatistics withLastUpdateTime(DateTime lastUpdateTime)
Set the lastUpdateTime value.
Parameters:
Returns:
withReadIOGiB
public TaskStatistics withReadIOGiB(double readIOGiB)
Set the readIOGiB value.
Parameters:
Returns:
withReadIOps
public TaskStatistics withReadIOps(long readIOps)
Set the readIOps value.
Parameters:
Returns:
withStartTime
public TaskStatistics withStartTime(DateTime startTime)
Set the startTime value.
Parameters:
Returns:
withUrl
public TaskStatistics withUrl(String url)
Set the url value.
Parameters:
Returns:
withUserCPUTime
public TaskStatistics withUserCPUTime(Period userCPUTime)
Set the userCPUTime value.
Parameters:
Returns:
withWaitTime
public TaskStatistics withWaitTime(Period waitTime)
Set the waitTime value.
Parameters:
Returns:
withWallClockTime
public TaskStatistics 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 the task was retried, this includes the wall clock time of all the task retries.
Parameters:
Returns:
withWriteIOGiB
public TaskStatistics withWriteIOGiB(double writeIOGiB)
Set the writeIOGiB value.
Parameters:
Returns:
withWriteIOps
public TaskStatistics 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: