public interface MetricsQuery
Modifier and Type | Method and Description |
---|---|
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() |
MetricsQuery name(String name)
name
- The name of the metrics to query forin {@link Metrics} for a list of names which can be used here.
MetricsQuery reporter(String reporter)
MetricsQuery startDate(Date startTime)
MetricsQuery endDate(Date endTime)
long sum()
Copyright © 2018. All rights reserved.