Uses of Interface
com.codahale.metrics.Gauge
-
-
Uses of Gauge in com.codahale.metrics
Subinterfaces of Gauge in com.codahale.metrics Modifier and Type Interface Description interfaceSettableGauge<T>Similar toGauge, but metric value is updated via calling#setValue(T)instead.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.classDefaultSettableGauge<T>Similar toGauge, but metric value is updated via calling#setValue(T)instead.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 with type parameters of type Gauge Modifier and Type Method Description <T extends Gauge>
TMetricRegistry. gauge(String name)Return theGaugeregistered under this name; or create and register a newSettableGaugeif none is registered.<T extends Gauge>
TMetricRegistry. gauge(String name, MetricRegistry.MetricSupplier<T> supplier)<T extends Gauge>
TNoopMetricRegistry. gauge(String name)Return theGaugeregistered under this name; or create and register a newSettableGaugeif none is registered.<T extends Gauge>
TNoopMetricRegistry. gauge(String name, MetricRegistry.MetricSupplier<T> 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.SortedMap<String,Gauge>NoopMetricRegistry. getGauges()Returns a map of all the gauges in the registry and their names.SortedMap<String,Gauge>NoopMetricRegistry. 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 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.
-