Uses of Interface
com.codahale.metrics.Gauge
-
-
Uses of Gauge in com.codahale.metrics
Classes in com.codahale.metrics that implement Gauge Modifier and Type Class Description classCachedGauge<T>AGaugeimplementation which caches its value for a period of time.classDerivativeGauge<F,T>A gauge whose value is derived from the value of another gauge.classRatioGaugeA gauge which measures the ratio of one value to another.Methods in com.codahale.metrics that return Gauge Modifier and Type Method Description GaugeMetricRegistry. gauge(String name, MetricRegistry.MetricSupplier<Gauge> supplier)Methods in com.codahale.metrics that return types with arguments of type Gauge Modifier and Type Method Description SortedMap<String,Gauge>MetricRegistry. getGauges()Returns a map of all the gauges in the registry and their names.SortedMap<String,Gauge>MetricRegistry. getGauges(MetricFilter filter)Returns a map of all the gauges in the registry and their names which match the given filter.Methods in com.codahale.metrics with parameters of type Gauge Modifier and Type Method Description voidMetricRegistryListener.Base. onGaugeAdded(String name, Gauge<?> gauge)voidMetricRegistryListener. onGaugeAdded(String name, Gauge<?> gauge)Called when aGaugeis added to the registry.Method parameters in com.codahale.metrics with type arguments of type Gauge Modifier and Type Method Description GaugeMetricRegistry. gauge(String name, MetricRegistry.MetricSupplier<Gauge> supplier)voidConsoleReporter. report(SortedMap<String,Gauge> gauges, SortedMap<String,Counter> counters, SortedMap<String,Histogram> histograms, SortedMap<String,Meter> meters, SortedMap<String,Timer> timers)voidCsvReporter. report(SortedMap<String,Gauge> gauges, SortedMap<String,Counter> counters, SortedMap<String,Histogram> histograms, SortedMap<String,Meter> meters, SortedMap<String,Timer> timers)abstract voidScheduledReporter. report(SortedMap<String,Gauge> gauges, SortedMap<String,Counter> counters, SortedMap<String,Histogram> histograms, SortedMap<String,Meter> meters, SortedMap<String,Timer> timers)Called periodically by the polling thread.voidSlf4jReporter. report(SortedMap<String,Gauge> gauges, SortedMap<String,Counter> counters, SortedMap<String,Histogram> histograms, SortedMap<String,Meter> meters, SortedMap<String,Timer> timers)Constructors in com.codahale.metrics with parameters of type Gauge Constructor Description DerivativeGauge(Gauge<F> base)Creates a new derivative with the given base gauge.
-