Class FlinkGaugeWrapper<T>
java.lang.Object
org.apache.flink.dropwizard.metrics.FlinkGaugeWrapper<T>
- All Implemented Interfaces:
com.codahale.metrics.Gauge<T>,com.codahale.metrics.Metric
A wrapper that allows a Flink gauge to be used as a DropWizard gauge.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> FlinkGaugeWrapper<T>fromGauge(org.apache.flink.metrics.Gauge<?> gauge) getValue()
-
Constructor Details
-
FlinkGaugeWrapper
-
-
Method Details
-
getValue
- Specified by:
getValuein interfacecom.codahale.metrics.Gauge<T>
-
fromGauge
-