Package org.apache.storm.metrics2
Class RollingAverageGauge
java.lang.Object
org.apache.storm.metrics2.RollingAverageGauge
- All Implemented Interfaces:
com.codahale.metrics.Gauge<Double>
,com.codahale.metrics.Metric
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RollingAverageGauge
public RollingAverageGauge()
-
-
Method Details
-
getValue
- Specified by:
getValue
in interfacecom.codahale.metrics.Gauge<Double>
-
addValue
public void addValue(double value)
-