예제 #1
0
 private void MaybeInitBuilder()
 {
     lock (this)
     {
         if (viaProto || builder == null)
         {
             builder = YarnProtos.LocalResourceProto.NewBuilder(proto);
         }
         viaProto = false;
     }
 }
예제 #2
0
 public LocalResourcePBImpl()
 {
     builder = YarnProtos.LocalResourceProto.NewBuilder();
 }