|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StepExecutionSplitter
Strategy interface for generating input contexts for a partitioned step execution independent from the fabric they are going to run on.
Method Summary | |
---|---|
String |
getStepName()
The name of the step configuration that will be executed remotely. |
Set<StepExecution> |
split(StepExecution stepExecution,
int gridSize)
Partition the provided StepExecution into a set of parallel
executable instances with the same parent JobExecution . |
Method Detail |
---|
String getStepName()
Set<StepExecution> split(StepExecution stepExecution, int gridSize) throws JobExecutionException
StepExecution
into a set of parallel
executable instances with the same parent JobExecution
. The grid
size will be treated as a hint for the size of the collection to be
returned. It may or may not correspond to the physical size of an
execution grid.StepExecutionSplitter
should expect
it to reconstitute the state of the last failed execution and only return
those executions that need to be restarted. Thus the grid size hint will
be ignored on a restart.
stepExecution
- the StepExecution
to be partitioned.gridSize
- a hint for the splitter if the size of the grid is known
StepExecution
instances for remote processing
JobExecutionException
- if the split cannot be made
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |