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

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


    req.start = start;
    return req;
  }

  public static GetJobInstanceReq buildGetJobInstanceReq(Long instanceId) {
    GetJobInstanceReq req = new GetJobInstanceReq();
    req.instanceId = instanceId;
    return req;
  }
View Full Code Here


  @Override
  public JobInstance getJobInstance(Long instanceId) {
    JobInstance jobInstance = null;
    try {
      GetJobInstanceReq request = JobRepositoryRpcFactory.buildGetJobInstanceReq(instanceId);
      GetJobInstanceRes response = (GetJobInstanceRes) getAppmasterScOperations().doMindRequest(request);
      jobInstance = JobRepositoryRpcFactory.convertJobInstanceType(response.jobInstance);
    } catch (Exception e) {
      throw convertException(e);
    }
View Full Code Here

TOP

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

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.