public class NullStatsProvider extends java.lang.Object implements StatsProvider
| Modifier and Type | Field and Description |
|---|---|
(package private) StatsLogger |
nullStatsLogger |
| Constructor and Description |
|---|
NullStatsProvider() |
| Modifier and Type | Method and Description |
|---|---|
StatsLogger |
getStatsLogger(java.lang.String scope)
Return the stats logger to a given scope.
|
void |
start(org.apache.commons.configuration.Configuration conf)
Intialize the stats provider by loading the given configuration conf.
|
void |
stop()
Close the stats provider.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStatsName, writeAllMetricsfinal StatsLogger nullStatsLogger
public void start(org.apache.commons.configuration.Configuration conf)
StatsProviderstart in interface StatsProviderconf - Configuration to configure the stats provider.public void stop()
StatsProviderstop in interface StatsProviderpublic StatsLogger getStatsLogger(java.lang.String scope)
StatsProvidergetStatsLogger in interface StatsProviderscope - Scope for the given statsCopyright © 2011–2024 The Apache Software Foundation. All rights reserved.