use of org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetCountersResponseProtoOrBuilder in project hadoop by apache.
the class GetCountersResponsePBImpl method getCounters.
@Override
public Counters getCounters() {
GetCountersResponseProtoOrBuilder p = viaProto ? proto : builder;
if (this.counters != null) {
return this.counters;
}
if (!p.hasCounters()) {
return null;
}
this.counters = convertFromProtoFormat(p.getCounters());
return this.counters;
}
Aggregations