public interface RichGaugeRepository extends MetricRepository<RichGauge>
Modifier and Type | Method and Description |
---|---|
void |
recordValue(java.lang.String name,
double value,
double alpha)
Set the current value of the gauge, smoothing accumulated values with the provided alpha value.
|
void |
reset(java.lang.String name)
Reset the gauge to zero and reset any accumulated average, max and min values
|
void recordValue(java.lang.String name, double value, double alpha)
name
- the gauge namevalue
- the value of the gaugealpha
- the smoothing factor to usejava.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