Class RatioGauge
java.lang.Object
com.codahale.metrics.RatioGauge
- Direct Known Subclasses:
FileDescriptorRatioGauge
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA ratio of one quantity to another. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract RatioGauge.RatiogetRatio()Returns theRatioGauge.Ratiowhich is the gauge's current value.getValue()Returns the metric's current value.
-
Constructor Details
-
RatioGauge
public RatioGauge()
-
-
Method Details
-
getRatio
Returns theRatioGauge.Ratiowhich is the gauge's current value.- Returns:
- the
RatioGauge.Ratiowhich is the gauge's current value
-
getValue
-