public final class StatsFactory extends Object
Modifier and Type | Method and Description |
---|---|
StatsAggregator |
getStatsAggregator()
Returns a Stats Aggregator implementation class for the IStatsAggregator interface
For example HBaseStatsAggregator for the HBase implementation
|
StatsPublisher |
getStatsPublisher()
Returns a Stats publisher implementation class for the IStatsPublisher interface
For example HBaseStatsPublisher for the HBase implementation
|
static StatsFactory |
newFactory(org.apache.hadoop.conf.Configuration conf) |
static StatsFactory |
newFactory(String configurationParam,
org.apache.hadoop.conf.Configuration conf)
Sets the paths of the implementation classes of publishing
and aggregation (IStatsPublisher and IStatsAggregator interfaces).
|
public static StatsFactory newFactory(org.apache.hadoop.conf.Configuration conf)
public static StatsFactory newFactory(String configurationParam, org.apache.hadoop.conf.Configuration conf)
public StatsPublisher getStatsPublisher()
public StatsAggregator getStatsAggregator()
Copyright © 2016 The Apache Software Foundation. All rights reserved.