Class MetricBuilder.SupplierDrivenRatioGauge
java.lang.Object
com.codahale.metrics.RatioGauge
com.inductiveautomation.ignition.gateway.metrics.MetricBuilder.SupplierDrivenRatioGauge
- All Implemented Interfaces:
com.codahale.metrics.Gauge<Double>,com.codahale.metrics.Metric
- Enclosing class:
- MetricBuilder
public static class MetricBuilder.SupplierDrivenRatioGauge
extends com.codahale.metrics.RatioGauge
-
Nested Class Summary
Nested classes/interfaces inherited from class com.codahale.metrics.RatioGauge
com.codahale.metrics.RatioGauge.Ratio -
Constructor Summary
ConstructorsConstructorDescriptionSupplierDrivenRatioGauge(Supplier<Double> numerator, Supplier<Double> denominator) -
Method Summary
Methods inherited from class com.codahale.metrics.RatioGauge
getValue
-
Constructor Details
-
SupplierDrivenRatioGauge
-
-
Method Details
-
getRatio
protected com.codahale.metrics.RatioGauge.Ratio getRatio()- Specified by:
getRatioin classcom.codahale.metrics.RatioGauge
-