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 interfaceMetricRegistry.MetricBuilder<T extends Metric>A quick and easy way of capturing the notion of default metrics.Subinterfaces of Metric in com.codahale.metricsModifier and TypeInterfaceDescriptioninterfaceGauge<T>A gauge metric is an instantaneous reading of a particular value.interfaceAn object which maintains mean and exponentially-weighted rate.interfaceA set of named metrics.Classes in com.codahale.metrics that implement MetricModifier and TypeClassDescriptionclassCachedGauge<T>AGaugeimplementation which caches its value for a period of time.classAn incrementing and decrementing counter metric.classDerivativeGauge<F,T> A gauge whose value is derived from the value of another gauge.classA metric which calculates the distribution of a value.classAGaugeimplementation which queries aMBeanServerfor an attribute of an object.classA set of gauges for the JVM name, vendor, and uptime.classA meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs.classA registry of metric instances.classA gauge which measures the ratio of one value to another.classA 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.metricsMethods 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 newConcurrentMapimplementation 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 TypeMethodDescriptionbooleanMetricRegistry.MetricBuilder.isInstance(Metric metric) booleanReturnstrueif the metric matches the filter;falseotherwise.private voidMetricRegistry.notifyListenerOfAddedMetric(MetricRegistryListener listener, Metric metric, String name) private voidMetricRegistry.notifyListenerOfRemovedMetric(String name, Metric metric, MetricRegistryListener listener) private voidMetricRegistry.onMetricAdded(String name, Metric metric) private voidMetricRegistry.onMetricRemoved(String name, Metric metric) -
Uses of Metric in com.codahale.metrics.jvm
Classes in com.codahale.metrics.jvm that implement MetricModifier and TypeClassDescriptionclassA set of gauges for the count, usage, and capacity of the JVM's direct and mapped buffer pools.classA gauge for the ratio of used to total file descriptors.classA set of gauges for the counts and elapsed times of garbage collections.classA set of gauges for JVM memory usage, including stats on heap vs.classA 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()