Package io.helidon.dbclient.metrics.jdbc
Class DropwizardMetricsListener
- java.lang.Object
-
- io.helidon.dbclient.metrics.jdbc.DropwizardMetricsListener
-
- All Implemented Interfaces:
com.codahale.metrics.MetricRegistryListener
,EventListener
public class DropwizardMetricsListener extends Object implements com.codahale.metrics.MetricRegistryListener
Hikari CP to Helidon metrics mapper. Listeners for events from the metrics registry and (un)registers metrics instances in Helidon.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCounterAdded(String name, com.codahale.metrics.Counter counter)
void
onCounterRemoved(String name)
void
onGaugeAdded(String name, com.codahale.metrics.Gauge<?> gauge)
void
onGaugeRemoved(String name)
void
onHistogramAdded(String name, com.codahale.metrics.Histogram histogram)
void
onHistogramRemoved(String name)
void
onMeterAdded(String name, com.codahale.metrics.Meter meter)
void
onMeterRemoved(String name)
void
onTimerAdded(String name, com.codahale.metrics.Timer timer)
void
onTimerRemoved(String name)
-
-
-
Method Detail
-
onGaugeAdded
public void onGaugeAdded(String name, com.codahale.metrics.Gauge<?> gauge)
- Specified by:
onGaugeAdded
in interfacecom.codahale.metrics.MetricRegistryListener
-
onGaugeRemoved
public void onGaugeRemoved(String name)
- Specified by:
onGaugeRemoved
in interfacecom.codahale.metrics.MetricRegistryListener
-
onCounterAdded
public void onCounterAdded(String name, com.codahale.metrics.Counter counter)
- Specified by:
onCounterAdded
in interfacecom.codahale.metrics.MetricRegistryListener
-
onCounterRemoved
public void onCounterRemoved(String name)
- Specified by:
onCounterRemoved
in interfacecom.codahale.metrics.MetricRegistryListener
-
onHistogramAdded
public void onHistogramAdded(String name, com.codahale.metrics.Histogram histogram)
- Specified by:
onHistogramAdded
in interfacecom.codahale.metrics.MetricRegistryListener
-
onHistogramRemoved
public void onHistogramRemoved(String name)
- Specified by:
onHistogramRemoved
in interfacecom.codahale.metrics.MetricRegistryListener
-
onMeterAdded
public void onMeterAdded(String name, com.codahale.metrics.Meter meter)
- Specified by:
onMeterAdded
in interfacecom.codahale.metrics.MetricRegistryListener
-
onMeterRemoved
public void onMeterRemoved(String name)
- Specified by:
onMeterRemoved
in interfacecom.codahale.metrics.MetricRegistryListener
-
onTimerAdded
public void onTimerAdded(String name, com.codahale.metrics.Timer timer)
- Specified by:
onTimerAdded
in interfacecom.codahale.metrics.MetricRegistryListener
-
onTimerRemoved
public void onTimerRemoved(String name)
- Specified by:
onTimerRemoved
in interfacecom.codahale.metrics.MetricRegistryListener
-
-