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