@InterfaceAudience.Public @InterfaceStability.Unstable public class TezCounters extends AbstractCounters<TezCounter,CounterGroup>
Counters
holds per job/task counters, defined either by the
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 |
---|
TezCounters()
Default constructor
|
TezCounters(AbstractCounters<C,G> counters)
Construct the Counters object from the another counters object
|
TezCounters(org.apache.tez.common.counters.CounterGroupFactory<TezCounter,CounterGroup> customGroupFactory)
Construct the Counters object from the another counters object
|
aggrAllCounters, countCounters, equals, findCounter, findCounter, getGroup, getGroupNames, hashCode, incrAllCounters, iterator, readFields, toShortString, toString, write
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public TezCounters()
public TezCounters(org.apache.tez.common.counters.CounterGroupFactory<TezCounter,CounterGroup> customGroupFactory)
C
- the type of counterG
- the type of counter grouppublic TezCounters(AbstractCounters<C,G> counters)
C
- the type of counterG
- the type of counter groupcounters
- the old counters objectCopyright © 2024 Apache Software Foundation. All rights reserved.