public class AggregatorMetric
extends java.lang.Object
NamedAggregators
and the Dropwizard Metric
interface.Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,com.codahale.metrics.Gauge<java.lang.Double>> |
getValue() |
java.util.Map<java.lang.String,com.codahale.metrics.Gauge<java.lang.Double>> |
getValue(java.lang.String prefix,
com.codahale.metrics.MetricFilter filter) |
static AggregatorMetric |
of(NamedAggregators namedAggregators) |
protected com.codahale.metrics.Gauge<java.lang.Double> |
staticGauge(java.lang.Number number) |
protected com.codahale.metrics.Gauge<java.lang.Double> |
staticGauge(java.lang.Object rawValue) |
public static AggregatorMetric of(NamedAggregators namedAggregators)
public java.util.Map<java.lang.String,com.codahale.metrics.Gauge<java.lang.Double>> getValue(java.lang.String prefix, com.codahale.metrics.MetricFilter filter)
protected com.codahale.metrics.Gauge<java.lang.Double> staticGauge(java.lang.Object rawValue) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public final java.util.Map<java.lang.String,com.codahale.metrics.Gauge<java.lang.Double>> getValue()
getValue
in interface com.codahale.metrics.Gauge<java.util.Map<java.lang.String,com.codahale.metrics.Gauge<java.lang.Double>>>
protected com.codahale.metrics.Gauge<java.lang.Double> staticGauge(java.lang.Number number)