Uses of Interface
com.codahale.metrics.Metric
-
-
Uses of Metric in com.codahale.metrics
Classes in com.codahale.metrics with type parameters of type Metric Modifier and Type Interface Description static interface
MetricRegistry.MetricSupplier<T extends Metric>
Subinterfaces of Metric in com.codahale.metrics Modifier and Type Interface Description interface
Gauge<T>
A gauge metric is an instantaneous reading of a particular value.interface
Metered
An object which maintains mean and moving average rates.interface
MetricSet
A set of named metrics.Classes in com.codahale.metrics that implement Metric Modifier and Type Class Description class
CachedGauge<T>
AGauge
implementation which caches its value for a period of time.class
Counter
An incrementing and decrementing counter metric.class
DerivativeGauge<F,T>
A gauge whose value is derived from the value of another gauge.class
Histogram
A metric which calculates the distribution of a value.class
Meter
A meter metric which measures mean throughput and one-, five-, and fifteen-minute moving average throughputs.class
MetricRegistry
A registry of metric instances.class
RatioGauge
A gauge which measures the ratio of one value to another.class
Timer
A timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics viaMeter
.Methods in com.codahale.metrics with type parameters of type Metric Modifier and Type Method Description <T extends Metric>
TMetricRegistry. register(String name, T metric)
Given aMetric
, registers it under the given name.Methods in com.codahale.metrics that return types with arguments of type Metric Modifier and Type Method Description protected ConcurrentMap<String,Metric>
MetricRegistry. buildMap()
Creates a newConcurrentMap
implementation for use inside the registry.Map<String,Metric>
MetricRegistry. getMetrics()
Map<String,Metric>
MetricSet. getMetrics()
A map of metric names to metrics.Methods in com.codahale.metrics with parameters of type Metric Modifier and Type Method Description boolean
MetricFilter. matches(String name, Metric metric)
Returnstrue
if the metric matches the filter;false
otherwise.
-