Examples of partitionHandler()


Examples of org.springframework.batch.core.jsr.step.builder.JsrPartitionStepBuilder.partitionHandler()

    JsrPartitionStepBuilder builder = new JsrSimpleStepBuilder<I, O>(new StepBuilder(executedStep.getName())).partitioner(executedStep);

    enhanceCommonStep(builder);

    if (getPartitionHandler() != null) {
      builder.partitionHandler(getPartitionHandler());
    }

    if(reducer != null) {
      builder.reducer(reducer);
    }
View Full Code Here

Examples of org.springframework.batch.core.step.builder.PartitionStepBuilder.partitionHandler()

      builder = new StepBuilder(name).partitioner(step);
    }
    enhanceCommonStep(builder);

    if (partitionHandler != null) {
      builder.partitionHandler(partitionHandler);
    }
    else {
      builder.gridSize(gridSize);
      builder.taskExecutor(taskExecutor);
    }
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.