public class GenericMetricLoader extends Object implements MetricLoader
DataSourceConfiguration
.Constructor and Description |
---|
GenericMetricLoader(Supplier<List<? extends DataSourceConfiguration>> configLoader)
Constructs a GenericMetricLoader using the given sketch size.
|
Modifier and Type | Method and Description |
---|---|
protected void |
buildMetricMakers(MetricDictionary metricDictionary)
Initialize the metric makers with the given metric dictionary.
|
void |
loadMetricDictionary(MetricDictionary metricDictionary)
Load metrics and populate the metric dictionary.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
loadMetricDictionary
public GenericMetricLoader(@NotNull Supplier<List<? extends DataSourceConfiguration>> configLoader)
configLoader
- Gives a list of DataSourceConfiguration
to build the metrics from.protected void buildMetricMakers(MetricDictionary metricDictionary)
metricDictionary
- Metric dictionary to use for generating the metric makers.public void loadMetricDictionary(MetricDictionary metricDictionary)
MetricLoader
loadMetricDictionary
in interface MetricLoader
metricDictionary
- The dictionary that will be loaded with metricsCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.