@InterfaceAudience.Public @InterfaceStability.Stable public class Counters extends AbstractCounters<Counter,CounterGroup>
Counters holds per job/task counters, defined either by the
Map-Reduce framework or applications. Each Counter can be of
any Enum type.
Counters are bunched into CounterGroups, each
comprising of counters from a particular Enum class.
LOG| Constructor and Description |
|---|
Counters()
Default constructor
|
Counters(AbstractCounters<C,G> counters)
Construct the Counters object from the another counters object
|
addGroup, addGroup, countCounters, equals, findCounter, findCounter, findCounter, getGroup, getGroupNames, getWriteAllCounters, hashCode, incrAllCounters, iterator, limits, readFields, setWriteAllCounters, toString, writeclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic Counters()
public Counters(AbstractCounters<C,G> counters)
C - the type of counterG - the type of counter groupcounters - the old counters objectCopyright © 2008–2022 Apache Software Foundation. All rights reserved.