public class AggregatorMetricSource extends Object implements org.apache.spark.metrics.source.Source
Source that is tailored to expose an AggregatorMetric,
wrapping an underlying NamedAggregators instance.| Constructor and Description |
|---|
AggregatorMetricSource(String name,
NamedAggregators aggregators) |
| Modifier and Type | Method and Description |
|---|---|
com.codahale.metrics.MetricRegistry |
metricRegistry() |
String |
sourceName() |
public AggregatorMetricSource(String name, NamedAggregators aggregators)
public String sourceName()
sourceName in interface org.apache.spark.metrics.source.Sourcepublic com.codahale.metrics.MetricRegistry metricRegistry()
metricRegistry in interface org.apache.spark.metrics.source.SourceCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.