public class CounterPBImpl extends org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<MRProtos.CounterProto> implements Counter
| Constructor and Description |
|---|
CounterPBImpl() |
CounterPBImpl(MRProtos.CounterProto proto) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
String |
getName() |
MRProtos.CounterProto |
getProto() |
long |
getValue() |
void |
setDisplayName(String displayName) |
void |
setName(String name) |
void |
setValue(long value) |
public CounterPBImpl()
public CounterPBImpl(MRProtos.CounterProto proto)
public MRProtos.CounterProto getProto()
getProto in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<MRProtos.CounterProto>public String getDisplayName()
getDisplayName in interface Counterpublic void setDisplayName(String displayName)
setDisplayName in interface CounterCopyright © 2008–2022 Apache Software Foundation. All rights reserved.