Package org.springframework.batch.core.partition.support

Examples of org.springframework.batch.core.partition.support.SimpleStepExecutionSplitter


        catch (Exception e) {
          logger.info("Ignored exception from step asking for name and allowStartIfComplete flag. "
              + "Using default from enclosing PartitionStep (" + name + "," + allowStartIfComplete + ").");
        }
      }
      SimpleStepExecutionSplitter splitter = new SimpleStepExecutionSplitter();
      splitter.setPartitioner(partitioner);
      splitter.setJobRepository(getJobRepository());
      splitter.setAllowStartIfComplete(allowStartIfComplete);
      splitter.setStepName(name);
      this.splitter = splitter;
      step.setStepExecutionSplitter(splitter);

    }
View Full Code Here


        catch (Exception e) {
          logger.info("Ignored exception from step asking for name and allowStartIfComplete flag. "
              + "Using default from enclosing PartitionStep (" + name + "," + allowStartIfComplete + ").");
        }
      }
      SimpleStepExecutionSplitter splitter = new SimpleStepExecutionSplitter();
      splitter.setPartitioner(getPartitioner());
      splitter.setJobRepository(getJobRepository());
      splitter.setAllowStartIfComplete(allowStartIfComplete);
      splitter.setStepName(name);
      splitter(splitter);
      step.setStepExecutionSplitter(splitter);

    }
View Full Code Here

TOP

Related Classes of org.springframework.batch.core.partition.support.SimpleStepExecutionSplitter

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.