Strategy interface for generating input contexts for a partitioned step execution independent from the fabric they are going to run on. More...
Public Member Functions | |
HashSet< StepExecution > | Split (StepExecution stepExecution, int gridSize) |
Partition the provided 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. On a restart clients of the IStepExecutionSplitter 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. More... | |
Properties | |
string | StepName [get, set] |
The name of the step configuration that will be executed remotely. Remote workers are going to execute a the same step for each execution context in the partition. More... | |
Detailed Description
Strategy interface for generating input contexts for a partitioned step execution independent from the fabric they are going to run on.
Member Function Documentation
HashSet<StepExecution> Summer.Batch.Core.Partition.IStepExecutionSplitter.Split | ( | StepExecution | stepExecution, |
int | gridSize | ||
) |
Partition the provided 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. On a restart clients of the IStepExecutionSplitter 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.
- Parameters
-
stepExecution the StepExecution to be partitioned. gridSize a hint for the splitter if the size of the grid is known
- Returns
- a set of StepExecution instances for remote processing
- Exceptions
-
JobExecutionException
Implemented in Summer.Batch.Core.Partition.Support.SimpleStepExecutionSplitter.
Property Documentation
|
getset |
The name of the step configuration that will be executed remotely. Remote workers are going to execute a the same step for each execution context in the partition.
- Returns
The documentation for this interface was generated from the following file:
- Summer.Batch.Core/Core/Partition/IStepExecutionSplitter.cs