Uses of Interface
com.codahale.metrics.Metric
Packages that use Metric
-
Uses of Metric in com.codahale.metrics
Classes in com.codahale.metrics with type parameters of type MetricModifier and TypeInterfaceDescriptionprivate static interface
MetricRegistry.MetricBuilder<T extends Metric>
A quick and easy way of capturing the notion of default metrics.Subinterfaces of Metric in com.codahale.metricsModifier and TypeInterfaceDescriptioninterface
Gauge<T>
A gauge metric is an instantaneous reading of a particular value.interface
An object which maintains mean and exponentially-weighted rate.interface
A set of named metrics.Classes in com.codahale.metrics that implement MetricModifier and TypeClassDescriptionclass
CachedGauge<T>
AGauge
implementation which caches its value for a period of time.class
An incrementing and decrementing counter metric.class
DerivativeGauge<F,
T> A gauge whose value is derived from the value of another gauge.class
A metric which calculates the distribution of a value.class
AGauge
implementation which queries aMBeanServer
for an attribute of an object.class
A set of gauges for the JVM name, vendor, and uptime.class
A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs.class
A registry of metric instances.class
A gauge which measures the ratio of one value to another.class
A timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics viaMeter
.Fields in com.codahale.metrics with type parameters of type MetricModifier and TypeFieldDescriptionprivate final ConcurrentMap
<String, Metric> MetricRegistry.metrics
Methods in com.codahale.metrics with type parameters of type MetricModifier and TypeMethodDescriptionMetricRegistry.getMetrics
(Class<T> klass, MetricFilter filter) private <T extends Metric>
TMetricRegistry.getOrAdd
(String name, MetricRegistry.MetricBuilder<T> builder) <T extends Metric>
TGiven aMetric
, registers it under the given name.Methods in com.codahale.metrics that return types with arguments of type MetricModifier and TypeMethodDescriptionprotected ConcurrentMap
<String, Metric> MetricRegistry.buildMap()
Creates a newConcurrentMap
implementation for use inside the registry.JvmAttributeGaugeSet.getMetrics()
MetricRegistry.getMetrics()
MetricSet.getMetrics()
A map of metric names to metrics.Methods in com.codahale.metrics with parameters of type MetricModifier and TypeMethodDescriptionboolean
MetricRegistry.MetricBuilder.isInstance
(Metric metric) boolean
Returnstrue
if the metric matches the filter;false
otherwise.private void
MetricRegistry.notifyListenerOfAddedMetric
(MetricRegistryListener listener, Metric metric, String name) private void
MetricRegistry.notifyListenerOfRemovedMetric
(String name, Metric metric, MetricRegistryListener listener) private void
MetricRegistry.onMetricAdded
(String name, Metric metric) private void
MetricRegistry.onMetricRemoved
(String name, Metric metric) -
Uses of Metric in com.codahale.metrics.jvm
Classes in com.codahale.metrics.jvm that implement MetricModifier and TypeClassDescriptionclass
A set of gauges for the count, usage, and capacity of the JVM's direct and mapped buffer pools.class
A gauge for the ratio of used to total file descriptors.class
A set of gauges for the counts and elapsed times of garbage collections.class
A set of gauges for JVM memory usage, including stats on heap vs.class
A set of gauges for the number of threads in their various states and deadlock detection.Methods in com.codahale.metrics.jvm that return types with arguments of type MetricModifier and TypeMethodDescriptionBufferPoolMetricSet.getMetrics()
GarbageCollectorMetricSet.getMetrics()
MemoryUsageGaugeSet.getMetrics()
ThreadStatesGaugeSet.getMetrics()