Examples of FindRunningJobExecutionsRes


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

  @Override
  public Set<JobExecution> findRunningJobExecutions(String jobName) {
    FindRunningJobExecutionsReq request = JobRepositoryRpcFactory.buildFindRunningJobExecutionsReq(jobName);
    Set<JobExecution> jobExecutions = new HashSet<JobExecution>();
    FindRunningJobExecutionsRes response = (FindRunningJobExecutionsRes) 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.