Package com.codahale.metrics
package com.codahale.metrics
-
ClassDescriptionCachedGauge<T>A
Gaugeimplementation which caches its value for a period of time.An abstraction for how time passes.A clock implementation which returns the current thread's CPU time.A clock implementation which returns the current time in epoch nanoseconds.A reporter which outputs measurements to aPrintStream, likeSystem.out.A builder forConsoleReporterinstances.An incrementing and decrementing counter metric.An interface for metric types which have counts.A reporter which creates a comma-separated values file of the measurements for each metric.A builder forCsvReporterinstances.DerivativeGauge<F,T> A gauge whose value is derived from the value of another gauge.An exponentially-weighted moving average.An exponentially-decaying random reservoir oflongs.Gauge<T>A gauge metric is an instantaneous reading of a particular value.A metric which calculates the distribution of a value.AGaugeimplementation which queries aMBeanServerfor an attribute of an object.A reporter which listens for new metrics and exposes them as namespaced MBeans.A builder forCsvReporterinstances.A set of gauges for the JVM name, vendor, and uptime.One or more variables that together maintain an initially zerolongsum.A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs.An object which maintains mean and exponentially-weighted rate.A tag interface to indicate that a class is a metric.A filter used to determine whether or not a metric should be reported, among other things.A registry of metric instances.MetricRegistry.MetricBuilder<T extends Metric>A quick and easy way of capturing the notion of default metrics.Listeners for events from the registry.A no-op implementation ofMetricRegistryListener.A set of named metrics.A gauge which measures the ratio of one value to another.A ratio of one quantity to another.A statistically representative reservoir of a data stream.An object which samples values.The abstract base class for all scheduled reporters (i.e., reporters which process a registry's metrics periodically).A simple named thread factory.A map of shared, named metric registries.A reporter class for logging metrics values to a SLF4JLoggerperiodically, similar toConsoleReporterorCsvReporter, but using the SLF4J framework instead.A builder forCsvReporterinstances.AReservoirimplementation backed by a sliding window that stores only the measurements made in the lastNseconds (or other time unit).AReservoirimplementation backed by a sliding window that stores the lastNmeasurements.A statistical snapshot of aSnapshot.A package-local class holding common representation and mechanics for classes supporting dynamic striping on 64bit values.Padded variant of AtomicLong supporting only raw accesses plus CAS.Holder for the thread-local hash code.The corresponding ThreadLocal classCopied directly from the JSR-166 project.A timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics viaMeter.A timing context.A random sampling reservoir of a stream oflongs.