Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public synchronized int getAttemptId() {
   ApplicationAttemptIdProtoOrBuilder p = viaProto ? proto : builder;
   return (p.getAttemptId());
 }