Beispiel #1
0
 public override string GetTargetQueue()
 {
     if (this.targetQueue != null)
     {
         return(this.targetQueue);
     }
     YarnServiceProtos.MoveApplicationAcrossQueuesRequestProtoOrBuilder p = viaProto ?
                                                                            proto : builder;
     if (!p.HasApplicationId())
     {
         return(null);
     }
     this.targetQueue = p.GetTargetQueue();
     return(this.targetQueue);
 }
Beispiel #2
0
 public override ApplicationId GetApplicationId()
 {
     if (this.applicationId != null)
     {
         return(this.applicationId);
     }
     YarnServiceProtos.MoveApplicationAcrossQueuesRequestProtoOrBuilder p = viaProto ?
                                                                            proto : builder;
     if (!p.HasApplicationId())
     {
         return(null);
     }
     this.applicationId = ConvertFromProtoFormat(p.GetApplicationId());
     return(this.applicationId);
 }