Interface GlobalJobStatistics
- All Known Implementing Classes:
GlobalJobStatisticsImpl
public interface GlobalJobStatistics
Response for global job statistics query.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the metric for jobs in COMPLETED state.Returns the metric for jobs in CREATED state.Returns the metric for jobs in FAILED state.booleanReturns whether the statistics are incomplete due to internal limits being reached.
-
Method Details
-
getCreated
JobStatusMetric getCreated()Returns the metric for jobs in CREATED state.- Returns:
- the created jobs metric
-
getCompleted
JobStatusMetric getCompleted()Returns the metric for jobs in COMPLETED state.- Returns:
- the completed jobs metric
-
getFailed
JobStatusMetric getFailed()Returns the metric for jobs in FAILED state.- Returns:
- the failed jobs metric
-
isIncomplete
boolean isIncomplete()Returns whether the statistics are incomplete due to internal limits being reached.- Returns:
- true if some metrics were not recorded due to limits
-