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 interfaceMetricRegistry.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 interfaceGauge<T>A gauge metric is an instantaneous reading of a particular value.interfaceMeteredAn object which maintains mean and exponentially-weighted rate.interfaceMetricSetA set of named metrics.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.classDerivativeGauge<F,T>A gauge whose value is derived from the value of another gauge.classHistogramA metric which calculates the distribution of a value.classJmxAttributeGaugeAGaugeimplementation which queries aMBeanServerfor an attribute of an object.classJvmAttributeGaugeSetA set of gauges for the JVM name, vendor, and uptime.classMeterA meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs.classMetricRegistryA registry of metric instances.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.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. metricsMethods 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 newConcurrentMapimplementation 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 booleanMetricRegistry.MetricBuilder. isInstance(Metric metric)booleanMetricFilter. matches(java.lang.String name, Metric metric)Returnstrueif the metric matches the filter;falseotherwise.private voidMetricRegistry. notifyListenerOfAddedMetric(MetricRegistryListener listener, Metric metric, java.lang.String name)private voidMetricRegistry. notifyListenerOfRemovedMetric(java.lang.String name, Metric metric, MetricRegistryListener listener)private voidMetricRegistry. onMetricAdded(java.lang.String name, Metric metric)private voidMetricRegistry. 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 classBufferPoolMetricSetA set of gauges for the count, usage, and capacity of the JVM's direct and mapped buffer pools.classFileDescriptorRatioGaugeA gauge for the ratio of used to total file descriptors.classGarbageCollectorMetricSetA set of gauges for the counts and elapsed times of garbage collections.classMemoryUsageGaugeSetA set of gauges for JVM memory usage, including stats on heap vs.classThreadStatesGaugeSetA 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()
-