Package org.springframework.yarn.batch.repository.bindings.exp

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

Related Classes of org.springframework.yarn.batch.repository.bindings.exp.GetJobExecutionsRes

Copyright © 2018 www.massapicom. 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.