Examples of JobRepositoryRemoteServiceInterceptor


Examples of org.springframework.yarn.batch.repository.JobRepositoryRemoteServiceInterceptor

    if(log.isDebugEnabled() && service != null) {
      log.debug("We have a appmaster service " + service);
    }

    if(service instanceof BatchAppmasterService) {
      ((BatchAppmasterService)service).addInterceptor(new JobRepositoryRemoteServiceInterceptor() {

        @Override
        public BaseObject preRequest(BaseObject baseObject) {
          if(baseObject.getType().equals("PartitionedStepExecutionStatusReq")) {
            StepExecutionType stepExecutionType = ((PartitionedStepExecutionStatusReq)baseObject).stepExecution;
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.