@Experimental(value=METRICS) public abstract class MetricQueryResults extends java.lang.Object
Constructor and Description |
---|
MetricQueryResults() |
Modifier and Type | Method and Description |
---|---|
static MetricQueryResults |
create(java.lang.Iterable<MetricResult<java.lang.Long>> counters,
java.lang.Iterable<MetricResult<DistributionResult>> distributions,
java.lang.Iterable<MetricResult<GaugeResult>> gauges) |
abstract java.lang.Iterable<MetricResult<java.lang.Long>> |
getCounters()
Return the metric results for the counters that matched the filter.
|
abstract java.lang.Iterable<MetricResult<DistributionResult>> |
getDistributions()
Return the metric results for the distributions that matched the filter.
|
abstract java.lang.Iterable<MetricResult<GaugeResult>> |
getGauges()
Return the metric results for the gauges that matched the filter.
|
java.lang.String |
toString() |
public abstract java.lang.Iterable<MetricResult<java.lang.Long>> getCounters()
public abstract java.lang.Iterable<MetricResult<DistributionResult>> getDistributions()
public abstract java.lang.Iterable<MetricResult<GaugeResult>> getGauges()
public final java.lang.String toString()
toString
in class java.lang.Object
public static MetricQueryResults create(java.lang.Iterable<MetricResult<java.lang.Long>> counters, java.lang.Iterable<MetricResult<DistributionResult>> distributions, java.lang.Iterable<MetricResult<GaugeResult>> gauges)