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 interfaceMetricRegistry.MetricSupplier<T extends Metric>Subinterfaces of Metric in com.codahale.metrics 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 com.codahale.metrics 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 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.<T extends Metric>
TNoopMetricRegistry. 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 newConcurrentMapimplementation for use inside the registry.protected ConcurrentMap<String,Metric>NoopMetricRegistry. buildMap()Creates a newConcurrentMapimplementation for use inside the registry.Map<String,Metric>MetricRegistry. getMetrics()Map<String,Metric>MetricSet. getMetrics()A map of metric names to metrics.Map<String,Metric>NoopMetricRegistry. getMetrics()A map of metric names to metrics.Methods in com.codahale.metrics with parameters of type Metric Modifier and Type Method Description booleanMetricFilter. matches(String name, Metric metric)Returnstrueif the metric matches the filter;falseotherwise.
-