你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

JobStatistics Class

  • java.lang.Object
    • com.microsoft.azure.sdk.iot.service.jobs.JobStatistics

public class JobStatistics

Collection of jobs statistics.

Method Summary

Modifier and Type Method and Description
int getDeviceCount()

Getter for device counter

int getFailedCount()

Getter for the failed counter

int getPendingCount()

Getter for pending counter

int getRunningCount()

Getter for running counter

int getSucceededCount()

Getter for succeeded counter

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Method Details

getDeviceCount

public int getDeviceCount()

Getter for device counter

Returns:

the number of devices in the job

getFailedCount

public int getFailedCount()

Getter for the failed counter

Returns:

the number of failed jobs

getPendingCount

public int getPendingCount()

Getter for pending counter

Returns:

the number of pending jobs

getRunningCount

public int getRunningCount()

Getter for running counter

Returns:

the number of running jobs

getSucceededCount

public int getSucceededCount()

Getter for succeeded counter

Returns:

number of succeeded jobs

Applies to