Class FastCodahaleMetricsProvider
java.lang.Object
org.apache.bookkeeper.stats.codahale.CodahaleMetricsProvider
org.apache.bookkeeper.stats.codahale.FastCodahaleMetricsProvider
- All Implemented Interfaces:
StatsProvider
A
StatsProvider 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 -
Method Summary
Modifier and TypeMethodDescriptiongetStatsLogger(String name) Return the stats logger to a given scope.Methods inherited from class org.apache.bookkeeper.stats.codahale.CodahaleMetricsProvider
getMetrics, getStatsName, initIfNecessary, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.bookkeeper.stats.StatsProvider
writeAllMetrics
-
Constructor Details
-
FastCodahaleMetricsProvider
public FastCodahaleMetricsProvider()
-
-
Method Details
-
getStatsLogger
Description copied from interface:StatsProviderReturn the stats logger to a given scope.- Specified by:
getStatsLoggerin interfaceStatsProvider- Overrides:
getStatsLoggerin classCodahaleMetricsProvider- Parameters:
name- Scope for the given stats- Returns:
- stats logger for the given scope
-