次の方法で共有


JobScheduleStatistics Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.JobScheduleStatistics

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 kernelCPUTime value.

org.joda.time.DateTime lastUpdateTime()

Get the lastUpdateTime value.

long numFailedTasks()

Get the numFailedTasks value.

long numSucceededTasks()

Get the numSucceededTasks value.

long numTaskRetries()

Get the numTaskRetries value.

double readIOGiB()

Get the readIOGiB value.

long readIOps()

Get the readIOps value.

org.joda.time.DateTime startTime()

Get the startTime value.

String url()

Get the url value.

org.joda.time.Period userCPUTime()

Get the userCPUTime value.

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).

JobScheduleStatistics withKernelCPUTime(Period kernelCPUTime)

Set the kernelCPUTime value.

JobScheduleStatistics withLastUpdateTime(DateTime lastUpdateTime)

Set the lastUpdateTime value.

JobScheduleStatistics withNumFailedTasks(long numFailedTasks)

Set the numFailedTasks value.

JobScheduleStatistics withNumSucceededTasks(long numSucceededTasks)

Set the numSucceededTasks value.

JobScheduleStatistics withNumTaskRetries(long numTaskRetries)

Set the numTaskRetries value.

JobScheduleStatistics withReadIOGiB(double readIOGiB)

Set the readIOGiB value.

JobScheduleStatistics withReadIOps(long readIOps)

Set the readIOps value.

JobScheduleStatistics withStartTime(DateTime startTime)

Set the startTime value.

JobScheduleStatistics withUrl(String url)

Set the url value.

JobScheduleStatistics withUserCPUTime(Period userCPUTime)

Set the userCPUTime value.

JobScheduleStatistics withWaitTime(Period waitTime)

Set this value is only reported in the Account lifetime statistics; it is not included in the Job statistics.

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).

JobScheduleStatistics withWriteIOGiB(double writeIOGiB)

Set the writeIOGiB value.

JobScheduleStatistics withWriteIOps(long writeIOps)

Set the writeIOps value.

double writeIOGiB()

Get the writeIOGiB value.

long writeIOps()

Get the writeIOps value.

Methods inherited from java.lang.Object

Constructor Details

JobScheduleStatistics

public JobScheduleStatistics()

Method Details

kernelCPUTime

public Period kernelCPUTime()

Get the kernelCPUTime value.

Returns:

the kernelCPUTime value

lastUpdateTime

public DateTime lastUpdateTime()

Get the lastUpdateTime value.

Returns:

the lastUpdateTime value

numFailedTasks

public long numFailedTasks()

Get the numFailedTasks value.

Returns:

the numFailedTasks value

numSucceededTasks

public long numSucceededTasks()

Get the numSucceededTasks value.

Returns:

the numSucceededTasks value

numTaskRetries

public long numTaskRetries()

Get the numTaskRetries value.

Returns:

the numTaskRetries value

readIOGiB

public double readIOGiB()

Get the readIOGiB value.

Returns:

the readIOGiB value

readIOps

public long readIOps()

Get the readIOps value.

Returns:

the readIOps value

startTime

public DateTime startTime()

Get the startTime value.

Returns:

the startTime value

url

public String url()

Get the url value.

Returns:

the url value

userCPUTime

public Period userCPUTime()

Get the userCPUTime value.

Returns:

the userCPUTime value

waitTime

public Period waitTime()

Get this value is only reported in the Account lifetime statistics; it is not included in the Job statistics.

Returns:

the waitTime value

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:

the wallClockTime value

withKernelCPUTime

public JobScheduleStatistics withKernelCPUTime(Period kernelCPUTime)

Set the kernelCPUTime value.

Parameters:

kernelCPUTime - the kernelCPUTime value to set

Returns:

the JobScheduleStatistics object itself.

withLastUpdateTime

public JobScheduleStatistics withLastUpdateTime(DateTime lastUpdateTime)

Set the lastUpdateTime value.

Parameters:

lastUpdateTime - the lastUpdateTime value to set

Returns:

the JobScheduleStatistics object itself.

withNumFailedTasks

public JobScheduleStatistics withNumFailedTasks(long numFailedTasks)

Set the numFailedTasks value.

Parameters:

numFailedTasks - the numFailedTasks value to set

Returns:

the JobScheduleStatistics object itself.

withNumSucceededTasks

public JobScheduleStatistics withNumSucceededTasks(long numSucceededTasks)

Set the numSucceededTasks value.

Parameters:

numSucceededTasks - the numSucceededTasks value to set

Returns:

the JobScheduleStatistics object itself.

withNumTaskRetries

public JobScheduleStatistics withNumTaskRetries(long numTaskRetries)

Set the numTaskRetries value.

Parameters:

numTaskRetries - the numTaskRetries value to set

Returns:

the JobScheduleStatistics object itself.

withReadIOGiB

public JobScheduleStatistics withReadIOGiB(double readIOGiB)

Set the readIOGiB value.

Parameters:

readIOGiB - the readIOGiB value to set

Returns:

the JobScheduleStatistics object itself.

withReadIOps

public JobScheduleStatistics withReadIOps(long readIOps)

Set the readIOps value.

Parameters:

readIOps - the readIOps value to set

Returns:

the JobScheduleStatistics object itself.

withStartTime

public JobScheduleStatistics withStartTime(DateTime startTime)

Set the startTime value.

Parameters:

startTime - the startTime value to set

Returns:

the JobScheduleStatistics object itself.

withUrl

public JobScheduleStatistics withUrl(String url)

Set the url value.

Parameters:

url - the url value to set

Returns:

the JobScheduleStatistics object itself.

withUserCPUTime

public JobScheduleStatistics withUserCPUTime(Period userCPUTime)

Set the userCPUTime value.

Parameters:

userCPUTime - the userCPUTime value to set

Returns:

the JobScheduleStatistics object itself.

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:

waitTime - the waitTime value to set

Returns:

the JobScheduleStatistics object itself.

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:

wallClockTime - the wallClockTime value to set

Returns:

the JobScheduleStatistics object itself.

withWriteIOGiB

public JobScheduleStatistics withWriteIOGiB(double writeIOGiB)

Set the writeIOGiB value.

Parameters:

writeIOGiB - the writeIOGiB value to set

Returns:

the JobScheduleStatistics object itself.

withWriteIOps

public JobScheduleStatistics withWriteIOps(long writeIOps)

Set the writeIOps value.

Parameters:

writeIOps - the writeIOps value to set

Returns:

the JobScheduleStatistics object itself.

writeIOGiB

public double writeIOGiB()

Get the writeIOGiB value.

Returns:

the writeIOGiB value

writeIOps

public long writeIOps()

Get the writeIOps value.

Returns:

the writeIOps value

Applies to