Class GlobalJobStatisticsImpl
java.lang.Object
io.camunda.client.impl.statistics.response.GlobalJobStatisticsImpl
- All Implemented Interfaces:
GlobalJobStatistics
-
Constructor Summary
ConstructorsConstructorDescriptionGlobalJobStatisticsImpl(JobStatusMetric created, JobStatusMetric completed, JobStatusMetric failed, boolean incomplete) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the metric for jobs in COMPLETED state.Returns the metric for jobs in CREATED state.Returns the metric for jobs in FAILED state.inthashCode()booleanReturns whether the statistics are incomplete due to internal limits being reached.toString()
-
Constructor Details
-
GlobalJobStatisticsImpl
public GlobalJobStatisticsImpl(JobStatusMetric created, JobStatusMetric completed, JobStatusMetric failed, boolean incomplete)
-
-
Method Details
-
getCreated
Description copied from interface:GlobalJobStatisticsReturns the metric for jobs in CREATED state.- Specified by:
getCreatedin interfaceGlobalJobStatistics- Returns:
- the created jobs metric
-
getCompleted
Description copied from interface:GlobalJobStatisticsReturns the metric for jobs in COMPLETED state.- Specified by:
getCompletedin interfaceGlobalJobStatistics- Returns:
- the completed jobs metric
-
getFailed
Description copied from interface:GlobalJobStatisticsReturns the metric for jobs in FAILED state.- Specified by:
getFailedin interfaceGlobalJobStatistics- Returns:
- the failed jobs metric
-
isIncomplete
public boolean isIncomplete()Description copied from interface:GlobalJobStatisticsReturns whether the statistics are incomplete due to internal limits being reached.- Specified by:
isIncompletein interfaceGlobalJobStatistics- Returns:
- true if some metrics were not recorded due to limits
-
hashCode
public int hashCode() -
equals
-
toString
-