public class CounterPBImpl extends 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) |
convertFromProtoFormat, convertToProtoFormat, equals, hashCode, toString
public CounterPBImpl()
public CounterPBImpl(MRProtos.CounterProto proto)
public MRProtos.CounterProto getProto()
getProto
in class ProtoBase<MRProtos.CounterProto>
public String getDisplayName()
getDisplayName
in interface Counter
public void setDisplayName(String displayName)
setDisplayName
in interface Counter
Copyright © 2013 Apache Software Foundation. All rights reserved.