public interface GaugeRepository extends MetricRepository<Gauge>
| Modifier and Type | Method and Description |
|---|---|
void |
recordValue(java.lang.String name,
long value)
Set the value of the gauge.
|
void |
reset(java.lang.String name)
Reset the gauge to zero
|
void recordValue(java.lang.String name,
long value)
name - the gauge namevalue - the value of the gaugejava.lang.IllegalArgumentException - in case the given name is nullvoid reset(java.lang.String name)
name - the gauge namejava.lang.IllegalArgumentException - in case the given name is null