Package org.apache.spark.metrics.source
Class DoubleAccumulatorSource
Object
org.apache.spark.metrics.source.DoubleAccumulatorSource
- All Implemented Interfaces:
Source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.codahale.metrics.MetricRegistry
static void
register
(SparkContext sc, scala.collection.immutable.Map<String, DoubleAccumulator> accumulators)
-
Constructor Details
-
DoubleAccumulatorSource
public DoubleAccumulatorSource()
-
-
Method Details
-
register
public static void register(SparkContext sc, scala.collection.immutable.Map<String, DoubleAccumulator> accumulators) -
metricRegistry
public com.codahale.metrics.MetricRegistry metricRegistry()- Specified by:
metricRegistry
in interfaceSource
-
sourceName
- Specified by:
sourceName
in interfaceSource
-