T - specific metric value sub classpublic abstract static class RatioGaugeMetricValue.Builder<T extends RatioGaugeMetricValue.Builder<T>> extends MetricValue.Builder<T>
| Constructor and Description |
|---|
RatioGaugeMetricValue.Builder() |
| Modifier and Type | Method and Description |
|---|---|
RatioGaugeMetricValue |
build() |
T |
denominator(double value)
Sets the denominator.
|
T |
numerator(double value)
Sets the numerator.
|
count, millisecondsSpan, persistDate, self, type, uid, updateDatepublic T denominator(double value)
value - the denominator valuepublic T numerator(double value)
value - the numerator valuepublic RatioGaugeMetricValue build()
build in class MetricValue.Builder<T extends RatioGaugeMetricValue.Builder<T>>Copyright © 2014. All Rights Reserved.