public final class StatsFactory
extends java.lang.Object
| Constructor and Description |
|---|
StatsFactory() |
| Modifier and Type | Method and Description |
|---|---|
static StatsAggregator |
getStatsAggregator()
Returns a Stats Aggregator implementation class for the IStatsAggregator interface
For example HBaseStatsAggregator for the HBase implementation
|
static StatsPublisher |
getStatsPublisher()
Returns a Stats publisher implementation class for the IStatsPublisher interface
For example HBaseStatsPublisher for the HBase implementation
|
static boolean |
setImplementation(java.lang.String configurationParam,
Configuration conf)
Sets the paths of the implementation classes of publishing
and aggregation (IStatsPublisher and IStatsAggregator interfaces).
|
public static boolean setImplementation(java.lang.String configurationParam,
Configuration conf)
public static StatsPublisher getStatsPublisher()
public static StatsAggregator getStatsAggregator()
Copyright © 2012 The Apache Software Foundation