Examples of GetJobExecutionsReq


Examples of org.springframework.yarn.batch.repository.bindings.exp.GetJobExecutionsReq

    req.stepExecutionId = stepExecutionId;
    return req;
  }

  public static GetJobExecutionsReq buildGetJobExecutionsReq(JobInstance jobInstance) {
    GetJobExecutionsReq req = new GetJobExecutionsReq();
    req.jobInstance = JobRepositoryRpcFactory.convertJobInstanceType(jobInstance);
    return req;
  }
View Full Code Here

Examples of org.springframework.yarn.batch.repository.bindings.exp.GetJobExecutionsReq

  }

  @Override
  public List<JobExecution> getJobExecutions(JobInstance jobInstance) {
    List<JobExecution> jobExecutions = new ArrayList<JobExecution>();
    GetJobExecutionsReq request = JobRepositoryRpcFactory.buildGetJobExecutionsReq(jobInstance);
    GetJobExecutionsRes response = (GetJobExecutionsRes) getAppmasterScOperations().doMindRequest(request);
    for (JobExecutionType j : response.jobExecutions) {
      jobExecutions.add(JobRepositoryRpcFactory.convertJobExecutionType(j));
    }
    return jobExecutions;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.