Modifier and Type | Method and Description |
---|---|
long |
getCounter()
What is the current value of this counter?
|
String |
makeEscapedCompactString()
Returns the compact stringified version of the counter in the format
[(actual-name)(display-name)(value)]
|
void |
setDisplayName(String newName) |
equals, getDisplayName, getName, getValue, hashCode, increment, readFields, write
public void setDisplayName(String newName)
setDisplayName
in class Counter
public String makeEscapedCompactString()
public long getCounter()
Copyright © 2010 The Apache Software Foundation