Beispiel #1
0
 private void MaybeInitBuilder()
 {
     lock (this)
     {
         if (viaProto || builder == null)
         {
             builder = YarnServerCommonProtos.NodeStatusProto.NewBuilder(proto);
         }
         viaProto = false;
     }
 }
Beispiel #2
0
 public NodeStatusPBImpl()
 {
     builder = YarnServerCommonProtos.NodeStatusProto.NewBuilder();
 }