Uses of Interface
com.codahale.metrics.Metric
-
Packages that use Metric Package Description com.codahale.metrics com.codahale.metrics.jvm -
-
Uses of Metric in com.codahale.metrics
Classes in com.codahale.metrics with type parameters of type Metric Modifier and Type Interface Description private 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.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 exponentially-weighted rate.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
JmxAttributeGauge
AGauge
implementation which queries aMBeanServer
for an attribute of an object.class
JvmAttributeGaugeSet
A set of gauges for the JVM name, vendor, and uptime.class
Meter
A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted 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
.Fields in com.codahale.metrics with type parameters of type Metric Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<java.lang.String,Metric>
MetricRegistry. metrics
Methods in com.codahale.metrics with type parameters of type Metric Modifier and Type Method Description private <T extends Metric>
java.util.SortedMap<java.lang.String,T>MetricRegistry. getMetrics(java.lang.Class<T> klass, MetricFilter filter)
private <T extends Metric>
TMetricRegistry. getOrAdd(java.lang.String name, MetricRegistry.MetricBuilder<T> builder)
<T extends Metric>
TMetricRegistry. register(java.lang.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 java.util.concurrent.ConcurrentMap<java.lang.String,Metric>
MetricRegistry. buildMap()
Creates a newConcurrentMap
implementation for use inside the registry.java.util.Map<java.lang.String,Metric>
JvmAttributeGaugeSet. getMetrics()
java.util.Map<java.lang.String,Metric>
MetricRegistry. getMetrics()
java.util.Map<java.lang.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
MetricRegistry.MetricBuilder. isInstance(Metric metric)
boolean
MetricFilter. matches(java.lang.String name, Metric metric)
Returnstrue
if the metric matches the filter;false
otherwise.private void
MetricRegistry. notifyListenerOfAddedMetric(MetricRegistryListener listener, Metric metric, java.lang.String name)
private void
MetricRegistry. notifyListenerOfRemovedMetric(java.lang.String name, Metric metric, MetricRegistryListener listener)
private void
MetricRegistry. onMetricAdded(java.lang.String name, Metric metric)
private void
MetricRegistry. onMetricRemoved(java.lang.String name, Metric metric)
-
Uses of Metric in com.codahale.metrics.jvm
Classes in com.codahale.metrics.jvm that implement Metric Modifier and Type Class Description class
BufferPoolMetricSet
A set of gauges for the count, usage, and capacity of the JVM's direct and mapped buffer pools.class
FileDescriptorRatioGauge
A gauge for the ratio of used to total file descriptors.class
GarbageCollectorMetricSet
A set of gauges for the counts and elapsed times of garbage collections.class
MemoryUsageGaugeSet
A set of gauges for JVM memory usage, including stats on heap vs.class
ThreadStatesGaugeSet
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 Metric Modifier and Type Method Description java.util.Map<java.lang.String,Metric>
BufferPoolMetricSet. getMetrics()
java.util.Map<java.lang.String,Metric>
GarbageCollectorMetricSet. getMetrics()
java.util.Map<java.lang.String,Metric>
MemoryUsageGaugeSet. getMetrics()
java.util.Map<java.lang.String,Metric>
ThreadStatesGaugeSet. getMetrics()
-