Exemple #1
0
 public YarnClusterMetricsPBImpl(YarnProtos.YarnClusterMetricsProto proto)
 {
     this.proto = proto;
     viaProto   = true;
 }
Exemple #2
0
 public virtual YarnProtos.YarnClusterMetricsProto GetProto()
 {
     proto    = viaProto ? proto : ((YarnProtos.YarnClusterMetricsProto)builder.Build());
     viaProto = true;
     return(proto);
 }
 private YarnClusterMetricsPBImpl ConvertFromProtoFormat(YarnProtos.YarnClusterMetricsProto
                                                         p)
 {
     return(new YarnClusterMetricsPBImpl(p));
 }