public class AggregatorMetricSource
extends java.lang.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(java.lang.String name,
NamedAggregators aggregators) |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.MetricRegistry |
metricRegistry() |
java.lang.String |
sourceName() |
public AggregatorMetricSource(java.lang.String name, NamedAggregators aggregators)