public class SparkCounterGroup extends Object implements Serializable
Constructor and Description |
---|
SparkCounterGroup(String groupName,
String groupDisplayName,
org.apache.spark.api.java.JavaSparkContext javaSparkContext) |
Modifier and Type | Method and Description |
---|---|
void |
createCounter(String name,
long initValue) |
SparkCounter |
getCounter(String name) |
String |
getGroupDisplayName() |
String |
getGroupName() |
Map<String,SparkCounter> |
getSparkCounters() |
void |
setGroupDisplayName(String groupDisplayName) |
public void createCounter(String name, long initValue)
public SparkCounter getCounter(String name)
public String getGroupName()
public String getGroupDisplayName()
public void setGroupDisplayName(String groupDisplayName)
public Map<String,SparkCounter> getSparkCounters()
Copyright © 2017 The Apache Software Foundation. All rights reserved.