Class Dropwizard5MetricsTrackerFactory
- java.lang.Object
-
- com.zaxxer.hikari.metrics.dropwizard.Dropwizard5MetricsTrackerFactory
-
- All Implemented Interfaces:
MetricsTrackerFactory
public class Dropwizard5MetricsTrackerFactory extends Object implements MetricsTrackerFactory
-
-
Constructor Summary
Constructors Constructor Description Dropwizard5MetricsTrackerFactory(io.dropwizard.metrics5.MetricRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMetricsTrackercreate(String poolName, PoolStats poolStats)Create an instance of an IMetricsTracker.io.dropwizard.metrics5.MetricRegistrygetRegistry()
-
-
-
Method Detail
-
getRegistry
public io.dropwizard.metrics5.MetricRegistry getRegistry()
-
create
public IMetricsTracker create(String poolName, PoolStats poolStats)
Description copied from interface:MetricsTrackerFactoryCreate an instance of an IMetricsTracker.- Specified by:
createin interfaceMetricsTrackerFactory- Parameters:
poolName- the name of the poolpoolStats- a PoolStats instance to use- Returns:
- a IMetricsTracker implementation instance
-
-