Class NoopPinotMetricFactory.NoopPinotMetricsRegistry
- java.lang.Object
-
- org.apache.pinot.connector.presto.plugin.metrics.NoopPinotMetricFactory.NoopPinotMetricsRegistry
-
- All Implemented Interfaces:
PinotMetricsRegistry
- Enclosing class:
- NoopPinotMetricFactory
public static class NoopPinotMetricFactory.NoopPinotMetricsRegistry extends Object implements PinotMetricsRegistry
-
-
Constructor Summary
Constructors Constructor Description NoopPinotMetricsRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddListener(PinotMetricsRegistryListener pinotMetricsRegistryListener)Map<PinotMetricName,PinotMetric>allMetrics()ObjectgetMetricsRegistry()PinotCounternewCounter(PinotMetricName pinotMetricName)<T> PinotGauge<T>newGauge(PinotMetricName pinotMetricName, PinotGauge<T> pinotGauge)PinotHistogramnewHistogram(PinotMetricName pinotMetricName, boolean b)PinotMeternewMeter(PinotMetricName pinotMetricName, String s, TimeUnit timeUnit)PinotTimernewTimer(PinotMetricName pinotMetricName, TimeUnit timeUnit, TimeUnit timeUnit1)voidremoveMetric(PinotMetricName pinotMetricName)voidshutdown()
-
-
-
Method Detail
-
removeMetric
public void removeMetric(PinotMetricName pinotMetricName)
- Specified by:
removeMetricin interfacePinotMetricsRegistry
-
newGauge
public <T> PinotGauge<T> newGauge(PinotMetricName pinotMetricName, PinotGauge<T> pinotGauge)
- Specified by:
newGaugein interfacePinotMetricsRegistry
-
newMeter
public PinotMeter newMeter(PinotMetricName pinotMetricName, String s, TimeUnit timeUnit)
- Specified by:
newMeterin interfacePinotMetricsRegistry
-
newCounter
public PinotCounter newCounter(PinotMetricName pinotMetricName)
- Specified by:
newCounterin interfacePinotMetricsRegistry
-
newTimer
public PinotTimer newTimer(PinotMetricName pinotMetricName, TimeUnit timeUnit, TimeUnit timeUnit1)
- Specified by:
newTimerin interfacePinotMetricsRegistry
-
newHistogram
public PinotHistogram newHistogram(PinotMetricName pinotMetricName, boolean b)
- Specified by:
newHistogramin interfacePinotMetricsRegistry
-
allMetrics
public Map<PinotMetricName,PinotMetric> allMetrics()
- Specified by:
allMetricsin interfacePinotMetricsRegistry
-
addListener
public void addListener(PinotMetricsRegistryListener pinotMetricsRegistryListener)
- Specified by:
addListenerin interfacePinotMetricsRegistry
-
getMetricsRegistry
public Object getMetricsRegistry()
- Specified by:
getMetricsRegistryin interfacePinotMetricsRegistry
-
shutdown
public void shutdown()
- Specified by:
shutdownin interfacePinotMetricsRegistry
-
-