Package org.springframework.yarn.batch.repository

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

Related Classes of org.springframework.yarn.batch.repository.JobRepositoryRemoteServiceInterceptor

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.