Examples of GetStepExecutionCountReq


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

    req.stepExecution = JobRepositoryRpcFactory.convertStepExecutionType(stepExecution);
    return req;
  }

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

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

    return JobRepositoryRpcFactory.convertStepExecutionType(response.stepExecution);
  }

  @Override
  public int getStepExecutionCount(JobInstance jobInstance, String stepName) {
    GetStepExecutionCountReq request = JobRepositoryRpcFactory.buildGetStepExecutionCountReq(jobInstance, stepName);
    GetStepExecutionCountRes response = (GetStepExecutionCountRes) getAppmasterScOperations().doMindRequest(request);
    return response.count;
  }
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.