| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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?  | 
 String | 
getDisplayName()
Get the name of the counter.  | 
 String | 
getName()
Get the internal name of the counter.  | 
 void | 
increment(long incr)
Increment this counter by the given value  | 
 void | 
readFields(DataInput in)
Read the binary representation of the counter  | 
 void | 
write(DataOutput out)
Write the binary representation of the counter  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public void readFields(DataInput in)
                throws IOException
readFields in interface Writablein - DataInput to deseriablize this object from.
IOException
public void write(DataOutput out)
           throws IOException
write in interface Writableout - DataOuput to serialize this object into.
IOExceptionpublic String getName()
public String getDisplayName()
public long getCounter()
public void increment(long incr)
incr - the value to increase this counter by
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||