|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.Counter
org.apache.hadoop.mapred.Counters.Counter
public static class Counters.Counter
A counter record, comprising its name and value.
Method Summary | |
---|---|
long |
getCounter()
What is the current value of this counter? |
java.lang.String |
makeEscapedCompactString()
Returns the compact stringified version of the counter in the format [(actual-name)(display-name)(value)] |
void |
setDisplayName(java.lang.String newName)
|
Methods inherited from class org.apache.hadoop.mapreduce.Counter |
---|
equals, getDisplayName, getName, getValue, hashCode, increment, readFields, write |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setDisplayName(java.lang.String newName)
setDisplayName
in class Counter
public java.lang.String makeEscapedCompactString()
public long getCounter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |