Package com.codahale.metrics
Class RatioGauge
- java.lang.Object
-
- com.codahale.metrics.RatioGauge
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RatioGauge.Ratio
A ratio of one quantity to another.
-
Constructor Summary
Constructors Constructor Description RatioGauge()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract RatioGauge.Ratio
getRatio()
Returns theRatioGauge.Ratio
which is the gauge's current value.Double
getValue()
Returns the metric's current value.
-
-
-
Method Detail
-
getRatio
protected abstract RatioGauge.Ratio getRatio()
Returns theRatioGauge.Ratio
which is the gauge's current value.- Returns:
- the
RatioGauge.Ratio
which is the gauge's current value
-
-