Examples of GetLastStepExecutionReq


Examples of org.springframework.yarn.batch.repository.bindings.repo.GetLastStepExecutionReq

    req.jobName = jobName;
    return req;
  }

  public static GetLastStepExecutionReq buildGetLastStepExecutionReq(JobInstance jobInstance, String stepName) {
    GetLastStepExecutionReq req = new GetLastStepExecutionReq();
    req.jobInstance = JobRepositoryRpcFactory.convertJobInstanceType(jobInstance);
    req.stepName = stepName;
    return req;
  }
View Full Code Here

Examples of org.springframework.yarn.batch.repository.bindings.repo.GetLastStepExecutionReq

  }

  @Override
  public StepExecution getLastStepExecution(JobInstance jobInstance, String stepName) {

    GetLastStepExecutionReq request = JobRepositoryRpcFactory.buildGetLastStepExecutionReq(jobInstance, stepName);
    GetLastStepExecutionRes response = (GetLastStepExecutionRes) getAppmasterScOperations().doMindRequest(request);
    return JobRepositoryRpcFactory.convertStepExecutionType(response.stepExecution);
  }
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.