public class SparkCounter extends Object implements Serializable
Constructor and Description |
---|
SparkCounter() |
SparkCounter(String name,
String displayName,
String groupName,
long initValue,
org.apache.spark.api.java.JavaSparkContext sparkContext) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
String |
getName() |
long |
getValue() |
void |
increment(long incr) |
void |
setDisplayName(String displayName) |
Copyright © 2017 The Apache Software Foundation. All rights reserved.