Examples of GetStepExecutionRes


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

  }

  @Override
  public StepExecution getStepExecution(Long jobExecutionId, Long stepExecutionId) {
    GetStepExecutionReq request = JobRepositoryRpcFactory.buildGetStepExecutionReq(jobExecutionId, stepExecutionId);
    GetStepExecutionRes response = (GetStepExecutionRes) getAppmasterScOperations().doMindRequest(request);
    return JobRepositoryRpcFactory.convertStepExecutionType(response.stepExecution);
  }
View Full Code Here

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

    log.info("Handled rpc request for type=" + request.getType() + ". Returning responseObj " + responseObj);
    return responseObj;
  }

  private BaseResponseObject handleGetStepExecutionReq(GetStepExecutionReq request) {
    GetStepExecutionRes response = new GetStepExecutionRes();
    StepExecution stepExecution = jobExplorer.getStepExecution(request.jobExecutionId, request.stepExecutionId);
    response.stepExecution = JobRepositoryRpcFactory.convertStepExecutionType(stepExecution);
    return response;
  }
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.