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