|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapreduce.counters.AbstractCounter
org.apache.hadoop.mapreduce.counters.FrameworkCounterGroup.FrameworkCounter<T>
@InterfaceAudience.Private public static class FrameworkCounterGroup.FrameworkCounter<T extends Enum<T>>
A counter facade for framework counters. Use old (which extends new) interface to make compatibility easier.
Constructor Summary | |
---|---|
FrameworkCounterGroup.FrameworkCounter(T ref,
String groupName)
|
Method Summary | |
---|---|
String |
getDisplayName()
Get the display name of the counter. |
String |
getGroupName()
|
T |
getKey()
|
String |
getName()
|
Counter |
getUnderlyingCounter()
|
long |
getValue()
What is the current value of this counter? |
void |
increment(long incr)
Increment this counter by the given value |
void |
readFields(DataInput in)
|
void |
setValue(long value)
Set this counter by the given value |
void |
write(DataOutput out)
|
Methods inherited from class org.apache.hadoop.mapreduce.counters.AbstractCounter |
---|
equals, hashCode, setDisplayName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrameworkCounterGroup.FrameworkCounter(T ref, String groupName)
Method Detail |
---|
@InterfaceAudience.Private public T getKey()
@InterfaceAudience.Private public String getGroupName()
public String getName()
public String getDisplayName()
Counter
public long getValue()
Counter
public void setValue(long value)
Counter
value
- the value to setpublic void increment(long incr)
Counter
incr
- the value to increase this counter bypublic void write(DataOutput out) throws IOException
IOException
public void readFields(DataInput in) throws IOException
IOException
public Counter getUnderlyingCounter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |