@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
|
countCounters, equals, findCounter, findCounter, getGroup, getGroupNames, hashCode, incrAllCounters, iterator, readFields, 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 © 2017 Apache Software Foundation. All rights reserved.