public abstract class RatioGauge extends Gauge<java.lang.Double>
Constructor and Description |
---|
RatioGauge() |
Modifier and Type | Method and Description |
---|---|
protected abstract double |
getDenominator()
Returns the denominator (the value on the bottom half of the fraction or the right-hand side
of the ratio).
|
protected abstract double |
getNumerator()
Returns the numerator (the value on the top half of the fraction or the left-hand side of the
ratio).
|
java.lang.Double |
value()
Returns the metric's current value.
|
processWith
protected abstract double getNumerator()
protected abstract double getDenominator()