Example usage for Java org.apache.hadoop.mapred Counters fields, constructors, methods, implement or subclass
The text is from its open source code.
Counter | findCounter(String group, String name) |
Counter | findCounter(String group, int id, String name) Find a counter by using strings |
Counters | fromEscapedCompactString(String compactString) Convert a stringified (by #makeEscapedCompactString() counter representation into a counter object. |
long | getCounter(Enum> key) Returns current value of the specified counter, or 0 if the counter does not exist. |
Group | getGroup(String groupName) |
Collection | getGroupNames() |
void | incrAllCounters(Counters other) Increments multiple counters by their amounts in another Counters instance. |
void | incrCounter(Enum> key, long amount) Increments the specified counter by the specified amount, creating it if it didn't already exist. |
void | log(Logger log) Logs the current counter values. |