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