Class FastCodahaleMetricsProvider
- java.lang.Object
-
- org.apache.bookkeeper.stats.codahale.CodahaleMetricsProvider
-
- org.apache.bookkeeper.stats.codahale.FastCodahaleMetricsProvider
-
- All Implemented Interfaces:
StatsProvider
public class FastCodahaleMetricsProvider extends CodahaleMetricsProvider
AStatsProvider
implemented based on Codahale metrics library.
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.stats.codahale.CodahaleMetricsProvider
jmx, LOG, metrics, reporters
-
-
Constructor Summary
Constructors Constructor Description FastCodahaleMetricsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatsLogger
getStatsLogger(java.lang.String name)
Return the stats logger to a given scope.-
Methods inherited from class org.apache.bookkeeper.stats.codahale.CodahaleMetricsProvider
getMetrics, getStatsName, initIfNecessary, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.bookkeeper.stats.StatsProvider
writeAllMetrics
-
-
-
-
Method Detail
-
getStatsLogger
public StatsLogger getStatsLogger(java.lang.String name)
Description copied from interface:StatsProvider
Return the stats logger to a given scope.- Specified by:
getStatsLogger
in interfaceStatsProvider
- Overrides:
getStatsLogger
in classCodahaleMetricsProvider
- Parameters:
name
- Scope for the given stats- Returns:
- stats logger for the given scope
-
-