Central strategy interface for creating input parameters for a partitioned step in the form of ExecutionContext instances. The usual aim is to create a set of distinct input values, e.g. a set of non-overlapping primary key ranges, or a set of unique filenames. More...
Public Member Functions | |
IDictionary< string, ExecutionContext > | Partition (int gridSize) |
Create a set of distinct ExecutionContext instances together with a unique identifier for each one. The identifiers should be short, mnemonic values, and only have to be unique within the return value (e.g. use an incrementer). More... | |
Detailed Description
Central strategy interface for creating input parameters for a partitioned step in the form of ExecutionContext instances. The usual aim is to create a set of distinct input values, e.g. a set of non-overlapping primary key ranges, or a set of unique filenames.
Member Function Documentation
IDictionary<string, ExecutionContext> Summer.Batch.Core.Partition.Support.IPartitioner.Partition | ( | int | gridSize | ) |
Create a set of distinct ExecutionContext instances together with a unique identifier for each one. The identifiers should be short, mnemonic values, and only have to be unique within the return value (e.g. use an incrementer).
- Parameters
-
gridSize
- Returns
Implemented in Summer.Batch.Core.Partition.Support.MultiResourcePartitioner.
The documentation for this interface was generated from the following file:
- Summer.Batch.Core/Core/Partition/Support/IPartitioner.cs