次の方法で共有


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