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