Package com.codahale.metrics
Interface SettableGauge<T>
-
- All Known Implementing Classes:
DefaultSettableGauge
public interface SettableGauge<T> extends Gauge<T>
Similar to
Gauge
, but metric value is updated via calling#setValue(T)
instead. SeeDefaultSettableGauge
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setValue(T value)
Set the metric to a new value.
-
-
-
Method Detail
-
setValue
void setValue(T value)
Set the metric to a new value.
-
-