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

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


    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

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

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.