Examples of GetJobExecutionsRes


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

  @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.