public abstract class RatioGauge extends Gauge<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).
|
Double |
value()
Returns the metric's current value.
|
processWithprotected abstract double getNumerator()
protected abstract double getDenominator()
Copyright © 2012. All Rights Reserved.