public class JsrStepExecutionSplitter extends SimpleStepExecutionSplitter
StepExecutions.| Constructor and Description |
|---|
JsrStepExecutionSplitter(JobRepository jobRepository,
boolean allowStartIfComplete,
java.lang.String stepName,
boolean restoreState) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getStepName()
The name of the step configuration that will be executed remotely.
|
java.util.Set<StepExecution> |
split(StepExecution stepExecution,
int gridSize)
Returns the same number of
StepExecutions as the gridSize specifies. |
afterPropertiesSet, getStartable, isStartable, setAllowStartIfComplete, setJobRepository, setPartitioner, setStepNamepublic JsrStepExecutionSplitter(JobRepository jobRepository, boolean allowStartIfComplete, java.lang.String stepName, boolean restoreState)
public java.lang.String getStepName()
StepExecutionSplittergetStepName in interface StepExecutionSplittergetStepName in class SimpleStepExecutionSplitterStepExecutionSplitter.getStepName()public java.util.Set<StepExecution> split(StepExecution stepExecution, int gridSize) throws JobExecutionException
StepExecutions as the gridSize specifies. Each
of the child StepExecutions will not be available via the JsrJobOperator per
JSR-352.split in interface StepExecutionSplittersplit in class SimpleStepExecutionSplitterstepExecution - the StepExecution to be partitioned.gridSize - a hint for the splitter if the size of the grid is knownStepExecution instances for remote processingJobExecutionException - if the split cannot be made