public class CounterGroupPBImpl extends org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.mapreduce.v2.proto.MRProtos.CounterGroupProto> implements CounterGroup
| Constructor and Description | 
|---|
| CounterGroupPBImpl() | 
| CounterGroupPBImpl(org.apache.hadoop.mapreduce.v2.proto.MRProtos.CounterGroupProto proto) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAllCounters(Map<String,Counter> counters) | 
| void | clearCounters() | 
| Map<String,Counter> | getAllCounters() | 
| Counter | getCounter(String key) | 
| String | getDisplayName() | 
| String | getName() | 
| org.apache.hadoop.mapreduce.v2.proto.MRProtos.CounterGroupProto | getProto() | 
| void | removeCounter(String key) | 
| void | setCounter(String key,
          Counter val) | 
| void | setDisplayName(String displayName) | 
| void | setName(String name) | 
public CounterGroupPBImpl()
public CounterGroupPBImpl(org.apache.hadoop.mapreduce.v2.proto.MRProtos.CounterGroupProto proto)
public org.apache.hadoop.mapreduce.v2.proto.MRProtos.CounterGroupProto getProto()
getProto in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.mapreduce.v2.proto.MRProtos.CounterGroupProto>public String getName()
getName in interface CounterGrouppublic void setName(String name)
setName in interface CounterGrouppublic String getDisplayName()
getDisplayName in interface CounterGrouppublic void setDisplayName(String displayName)
setDisplayName in interface CounterGrouppublic Map<String,Counter> getAllCounters()
getAllCounters in interface CounterGrouppublic Counter getCounter(String key)
getCounter in interface CounterGrouppublic void addAllCounters(Map<String,Counter> counters)
addAllCounters in interface CounterGrouppublic void setCounter(String key, Counter val)
setCounter in interface CounterGrouppublic void removeCounter(String key)
removeCounter in interface CounterGrouppublic void clearCounters()
clearCounters in interface CounterGroupCopyright © 2008–2023 Apache Software Foundation. All rights reserved.