public static class SparkCounterGroup.MapSparkCounterGroup extends SparkCounterGroup<java.util.Map<java.lang.String,java.lang.Long>>
SparkCounterGroup.LongSparkCounterGroup, SparkCounterGroup.MapSparkCounterGroup
groupDisplayName, groupName, javaSparkContext, sparkCounters
Constructor and Description |
---|
MapSparkCounterGroup(java.lang.String groupName,
java.lang.String groupDisplayName,
JavaSparkContext javaSparkContext) |
Modifier and Type | Method and Description |
---|---|
void |
createCounter(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Long> initValue) |
getCounter, getGroupDisplayName, getGroupName, getSparkCounters, setGroupDisplayName
public MapSparkCounterGroup(java.lang.String groupName, java.lang.String groupDisplayName, JavaSparkContext javaSparkContext)
public void createCounter(java.lang.String name, java.util.Map<java.lang.String,java.lang.Long> initValue)
createCounter
in class SparkCounterGroup<java.util.Map<java.lang.String,java.lang.Long>>
Copyright © 2007-2017 The Apache Software Foundation