Package com.codahale.metrics
Class DerivativeGauge<F,T>
- java.lang.Object
-
- com.codahale.metrics.DerivativeGauge<F,T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDerivativeGauge(Gauge<F> base)Creates a new derivative with the given base gauge.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TgetValue()Returns the metric's current value.protected abstract Ttransform(F value)Transforms the value of the base gauge to the value of this gauge.
-