Uses of Interface
io.dropwizard.metrics5.Gauge
-
-
Uses of Gauge in io.dropwizard.metrics5
Subinterfaces of Gauge in io.dropwizard.metrics5 Modifier and Type Interface Description interfaceSettableGauge<T>Similar toGauge, but metric value is updated via calling#setValue(T)instead.Classes in io.dropwizard.metrics5 that implement Gauge Modifier and Type Class Description classCachedGauge<T>AGaugeimplementation which caches its value for a period of time.classDefaultSettableGauge<T>Similar toGauge, but metric value is updated via calling#setValue(T)instead.classDerivativeGauge<F,T>A gauge whose value is derived from the value of another gauge.classRatioGaugeA gauge which measures the ratio of one value to another.Methods in io.dropwizard.metrics5 with type parameters of type Gauge Modifier and Type Method Description <T extends Gauge>
TMetricRegistry. gauge(MetricName name)Return theGaugeregistered under this name; or create and register a newSettableGaugeif none is registered.<T extends Gauge>
TMetricRegistry. gauge(MetricName name, MetricRegistry.MetricSupplier<T> supplier)<T extends Gauge>
TNoopMetricRegistry. gauge(MetricName name)Return theGaugeregistered under this name; or create and register a newSettableGaugeif none is registered.<T extends Gauge>
TNoopMetricRegistry. gauge(MetricName name, MetricRegistry.MetricSupplier<T> supplier)Methods in io.dropwizard.metrics5 that return types with arguments of type Gauge Modifier and Type Method Description SortedMap<MetricName,Gauge<?>>MetricRegistry. getGauges()Returns a map of all the gauges in the registry and their names.SortedMap<MetricName,Gauge<?>>MetricRegistry. getGauges(MetricFilter filter)Returns a map of all the gauges in the registry and their names which match the given filter.SortedMap<MetricName,Gauge<?>>NoopMetricRegistry. getGauges()Returns a map of all the gauges in the registry and their names.SortedMap<MetricName,Gauge<?>>NoopMetricRegistry. getGauges(MetricFilter filter)Returns a map of all the gauges in the registry and their names which match the given filter.Methods in io.dropwizard.metrics5 with parameters of type Gauge Modifier and Type Method Description voidMetricRegistryListener.Base. onGaugeAdded(MetricName name, Gauge<?> gauge)voidMetricRegistryListener. onGaugeAdded(MetricName name, Gauge<?> gauge)Called when aGaugeis added to the registry.Constructors in io.dropwizard.metrics5 with parameters of type Gauge Constructor Description DerivativeGauge(Gauge<F> base)Creates a new derivative with the given base gauge.
-