public final class CodahaleMetricsTrackerFactory extends Object implements MetricsTrackerFactory
Constructor and Description |
---|
CodahaleMetricsTrackerFactory(com.codahale.metrics.MetricRegistry registry) |
Modifier and Type | Method and Description |
---|---|
MetricsTracker |
create(String poolName,
PoolStats poolStats)
Create an instance of a MetricsTracker.
|
com.codahale.metrics.MetricRegistry |
getRegistry() |
public CodahaleMetricsTrackerFactory(com.codahale.metrics.MetricRegistry registry)
public com.codahale.metrics.MetricRegistry getRegistry()
public MetricsTracker create(String poolName, PoolStats poolStats)
MetricsTrackerFactory
create
in interface MetricsTrackerFactory
poolName
- the name of the poolpoolStats
- a PoolStats instance to useCopyright © 2016 Zaxxer.com. All Rights Reserved.