Package com.codahale.metrics
Class RatioGauge
- java.lang.Object
-
- com.codahale.metrics.RatioGauge
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRatioGauge.RatioA 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.RatiogetRatio()Returns theRatioGauge.Ratiowhich is the gauge's current value.DoublegetValue()Returns the metric's current value.
-
-
-
Method Detail
-
getRatio
protected abstract RatioGauge.Ratio getRatio()
Returns theRatioGauge.Ratiowhich is the gauge's current value.- Returns:
- the
RatioGauge.Ratiowhich is the gauge's current value
-
-