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

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


    req.stepName = stepName;
    return req;
  }

  public static UpdateWithStepExecutionReq buildUpdateWithStepExecutionReq(StepExecution stepExecution) {
    UpdateWithStepExecutionReq req = new UpdateWithStepExecutionReq();
    req.stepExecution = JobRepositoryRpcFactory.convertStepExecutionType(stepExecution);
    return req;
  }
View Full Code Here


  }

  @Override
  public void update(StepExecution stepExecution) {
    try {
      UpdateWithStepExecutionReq request = JobRepositoryRpcFactory.buildUpdateWithStepExecutionReq(stepExecution);
      UpdateWithStepExecutionRes response = (UpdateWithStepExecutionRes) getAppmasterScOperations().doMindRequest(request);
      stepExecution.setId(response.getId());
      stepExecution.setVersion(response.getVersion());
    } catch (Exception e) {
      throw convertException(e);
View Full Code Here

TOP

Related Classes of org.springframework.yarn.batch.repository.bindings.repo.UpdateWithStepExecutionReq

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.