Uses of Interface
com.codahale.metrics.Gauge
-
Packages that use Gauge Package Description com.codahale.metrics com.codahale.metrics.graphite com.codahale.metrics.json com.codahale.metrics.jvm -
-
Uses of Gauge in com.codahale.metrics
Classes in com.codahale.metrics that implement Gauge Modifier and Type Class Description class
CachedGauge<T>
AGauge
implementation which caches its value for a period of time.class
DerivativeGauge<F,T>
A gauge whose value is derived from the value of another gauge.class
JmxAttributeGauge
AGauge
implementation which queries aMBeanServer
for an attribute of an object.class
RatioGauge
A gauge which measures the ratio of one value to another.Fields in com.codahale.metrics declared as Gauge Modifier and Type Field Description private Gauge<F>
DerivativeGauge. base
private Gauge<?>
JmxReporter.JmxGauge. metric
Methods in com.codahale.metrics that return types with arguments of type Gauge Modifier and Type Method Description java.util.SortedMap<java.lang.String,Gauge>
MetricRegistry. getGauges()
Returns a map of all the gauges in the registry and their names.java.util.SortedMap<java.lang.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 private void
Slf4jReporter. logGauge(java.lang.String name, Gauge gauge)
void
JmxReporter.JmxListener. onGaugeAdded(java.lang.String name, Gauge<?> gauge)
void
MetricRegistryListener.Base. onGaugeAdded(java.lang.String name, Gauge<?> gauge)
void
MetricRegistryListener. onGaugeAdded(java.lang.String name, Gauge<?> gauge)
Called when aGauge
is added to the registry.private void
CsvReporter. reportGauge(long timestamp, java.lang.String name, Gauge gauge)
Method parameters in com.codahale.metrics with type arguments of type Gauge Modifier and Type Method Description private void
ConsoleReporter. printGauge(java.util.Map.Entry<java.lang.String,Gauge> entry)
void
ConsoleReporter. report(java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.String,Timer> timers)
void
CsvReporter. report(java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.String,Timer> timers)
abstract void
ScheduledReporter. report(java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.String,Timer> timers)
Called periodically by the polling thread.void
Slf4jReporter. report(java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.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.JmxGauge(Gauge<?> metric, javax.management.ObjectName objectName)
-
Uses of Gauge in com.codahale.metrics.graphite
Methods in com.codahale.metrics.graphite with parameters of type Gauge Modifier and Type Method Description private void
GraphiteReporter. reportGauge(java.lang.String name, Gauge gauge, long timestamp)
Method parameters in com.codahale.metrics.graphite with type arguments of type Gauge Modifier and Type Method Description void
GraphiteReporter. report(java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.String,Timer> timers)
-
Uses of Gauge in com.codahale.metrics.json
Methods in com.codahale.metrics.json with parameters of type Gauge Modifier and Type Method Description void
MetricsModule.GaugeSerializer. serialize(Gauge gauge, com.fasterxml.jackson.core.JsonGenerator json, com.fasterxml.jackson.databind.SerializerProvider provider)
-
Uses of Gauge in com.codahale.metrics.jvm
Classes in com.codahale.metrics.jvm that implement Gauge Modifier and Type Class Description class
FileDescriptorRatioGauge
A gauge for the ratio of used to total file descriptors.
-