public class DoubleAccumulatorSource
extends Object
Constructor and Description |
---|
DoubleAccumulatorSource() |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.MetricRegistry |
metricRegistry() |
static void |
register(SparkContext sc,
scala.collection.immutable.Map<String,DoubleAccumulator> accumulators) |
String |
sourceName() |
public static void register(SparkContext sc, scala.collection.immutable.Map<String,DoubleAccumulator> accumulators)
public com.codahale.metrics.MetricRegistry metricRegistry()
metricRegistry
in interface Source
public String sourceName()
sourceName
in interface Source