@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 CounterGroup
s, 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, write
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public Counters()
public Counters(AbstractCounters<C,G> counters)
C
- the type of counterG
- the type of counter groupcounters
- the old counters objectCopyright © 2023 Apache Software Foundation. All rights reserved.