Uses of Interface
io.dropwizard.metrics5.Metric
-
-
Uses of Metric in io.dropwizard.metrics5
Classes in io.dropwizard.metrics5 with type parameters of type Metric Modifier and Type Interface Description static interfaceMetricRegistry.MetricSupplier<T extends Metric>Subinterfaces of Metric in io.dropwizard.metrics5 Modifier and Type Interface Description interfaceGauge<T>A gauge metric is an instantaneous reading of a particular value.interfaceMeteredAn object which maintains mean and moving average rates.interfaceMetricSetA set of named metrics.interfaceSettableGauge<T>Similar toGauge, but metric value is updated via calling#setValue(T)instead.Classes in io.dropwizard.metrics5 that implement Metric Modifier and Type Class Description classCachedGauge<T>AGaugeimplementation which caches its value for a period of time.classCounterAn incrementing and decrementing counter metric.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.classHistogramA metric which calculates the distribution of a value.classMeterA meter metric which measures mean throughput and one-, five-, and fifteen-minute moving average throughputs.classMetricRegistryA registry of metric instances.classNoopMetricRegistryA registry of metric instances which never creates or registers any metrics and returns no-op implementations of any metric type.classRatioGaugeA gauge which measures the ratio of one value to another.classTimerA timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics viaMeter.Methods in io.dropwizard.metrics5 with type parameters of type Metric Modifier and Type Method Description <T extends Metric>
TMetricRegistry. register(MetricName name, T metric)Given aMetric, registers it under the given name.<T extends Metric>
TMetricRegistry. register(String name, T metric)<T extends Metric>
TNoopMetricRegistry. register(MetricName name, T metric)Given aMetric, registers it under the given name.<T extends Metric>
TNoopMetricRegistry. register(String name, T metric)Methods in io.dropwizard.metrics5 that return types with arguments of type Metric Modifier and Type Method Description protected ConcurrentMap<MetricName,Metric>MetricRegistry. buildMap()Creates a newConcurrentMapimplementation for use inside the registry.protected ConcurrentMap<MetricName,Metric>NoopMetricRegistry. buildMap()Creates a newConcurrentMapimplementation for use inside the registry.Map<MetricName,Metric>MetricRegistry. getMetrics()Map<MetricName,Metric>MetricSet. getMetrics()A map of metric names to metrics.Map<MetricName,Metric>NoopMetricRegistry. getMetrics()A map of metric names to metrics.Methods in io.dropwizard.metrics5 with parameters of type Metric Modifier and Type Method Description booleanMetricFilter. matches(MetricName name, Metric metric)Returnstrueif the metric matches the filter;falseotherwise.
-