Example #1
0
 public synchronized ApplicationId getApplicationId() {
   ApplicationAttemptIdProtoOrBuilder p = viaProto ? proto : builder;
   if (this.applicationId != null) {
     return this.applicationId;
   }
   if (!p.hasApplicationId()) {
     return null;
   }
   this.applicationId = convertFromProtoFormat(p.getApplicationId());
   return this.applicationId;
 }
Example #2
0
 public synchronized int getAttemptId() {
   ApplicationAttemptIdProtoOrBuilder p = viaProto ? proto : builder;
   return (p.getAttemptId());
 }