Class DropwizardGauge<T>
- java.lang.Object
-
- org.apache.pinot.plugin.metrics.dropwizard.DropwizardGauge<T>
-
- All Implemented Interfaces:
PinotGauge<T>,PinotMetric
public class DropwizardGauge<T> extends Object implements PinotGauge<T>
-
-
Constructor Summary
Constructors Constructor Description DropwizardGauge(com.codahale.metrics.Gauge<T> gauge)DropwizardGauge(Function<Void,T> condition)
-
-
-
Method Detail
-
getGauge
public Object getGauge()
- Specified by:
getGaugein interfacePinotGauge<T>
-
getMetric
public Object getMetric()
- Specified by:
getMetricin interfacePinotMetric
-
value
public T value()
- Specified by:
valuein interfacePinotGauge<T>
-
-