org.camunda.bpm.engine.management
Interface MetricsQuery

All Known Implementing Classes:
MetricsQueryImpl

public interface MetricsQuery

Since:
7.3
Author:
Daniel Meyer

Method Summary
 MetricsQuery endDate(Date endTime)
          Restrict to data collected before the given date (exclusive)
 MetricsQuery name(String name)
           
 MetricsQuery reporter(String reporter)
          Restrict to data collected by the reported with the given identifier
 MetricsQuery startDate(Date startTime)
          Restrict to data collected after the given date (inclusive)
 long sum()
           
 

Method Detail

name

MetricsQuery name(String name)
Parameters:
name - The name of the metrics to query for
See Also:
in {@link Metrics} for a list of names which can be used here.

reporter

MetricsQuery reporter(String reporter)
Restrict to data collected by the reported with the given identifier


startDate

MetricsQuery startDate(Date startTime)
Restrict to data collected after the given date (inclusive)


endDate

MetricsQuery endDate(Date endTime)
Restrict to data collected before the given date (exclusive)


sum

long sum()
Returns:
the aggregated sum


Copyright © 2016 camunda services GmbH. All rights reserved.