|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MetricsQuery
| Method Summary | |
|---|---|
MetricsQuery |
endDate(Date endTime)
Restrict to data collected before the given date (exclusive) |
List<MetricIntervalValue> |
interval()
Returns the metrics summed up and aggregated on a time interval. |
List<MetricIntervalValue> |
interval(long interval)
Returns the metrics summed up and aggregated on a time interval. |
MetricsQuery |
limit(int maxResults)
Sets the limit row count of the result. |
MetricsQuery |
name(String name)
|
MetricsQuery |
offset(int offset)
Sets the offset of the returned results. |
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 |
|---|
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)
MetricsQuery offset(int offset)
offset - indicates after which row the result begins
MetricsQuery limit(int maxResults)
maxResults - the new row limit of the result
List<MetricIntervalValue> interval()
List<MetricIntervalValue> interval(long interval)
interval - The time interval on which the metrics should be aggregated.
The time unit is seconds.
long sum()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||