com.codahale.metrics.SettableGauge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metrics-core Show documentation
Show all versions of metrics-core Show documentation
Metrics is a Java library which gives you unparalleled insight into what your code does in
production. Metrics provides a powerful toolkit of ways to measure the behavior of critical
components in your production environment.
package com.codahale.metrics;
/**
*
* Similar to {@link Gauge}, but metric value is updated via calling {@link #setValue(T)} instead.
* See {@link DefaultSettableGauge}.
*
*/
public interface SettableGauge extends Gauge {
/**
* Set the metric to a new value.
*/
void setValue(T value);
}