public static GetQueueInfoRequest NewInstance(string queueName, bool includeApplications , bool includeChildQueues, bool recursive) { GetQueueInfoRequest request = Records.NewRecord <GetQueueInfoRequest>(); request.SetQueueName(queueName); request.SetIncludeApplications(includeApplications); request.SetIncludeChildQueues(includeChildQueues); request.SetRecursive(recursive); return(request); }
private Org.Apache.Hadoop.Yarn.Api.Protocolrecords.GetQueueInfoRequest GetQueueInfoRequest (string queueName, bool includeApplications, bool includeChildQueues, bool recursive ) { Org.Apache.Hadoop.Yarn.Api.Protocolrecords.GetQueueInfoRequest request = Org.Apache.Hadoop.Yarn.Util.Records .NewRecord <Org.Apache.Hadoop.Yarn.Api.Protocolrecords.GetQueueInfoRequest>(); request.SetQueueName(queueName); request.SetIncludeApplications(includeApplications); request.SetIncludeChildQueues(includeChildQueues); request.SetRecursive(recursive); return(request); }