Summer.Batch.Core.Partition.Support.MultiResourcePartitioner Class Reference
Implementation of IPartitioner that locates multiple resources and associates their absolute URIs in the execution contexts. Create one execution context per resource, whatever the grid size. More...
Inheritance diagram for Summer.Batch.Core.Partition.Support.MultiResourcePartitioner:
Public Member Functions | |
MultiResourcePartitioner () | |
Default constructor More... | |
IDictionary< string, ExecutionContext > | Partition (int gridSize) |
Creates one partition per resource and adds the URI in the context. More... | |
Properties | |
IList< IResource > | Resources [get, set] |
The resources to assign to each partition. More... | |
string | KeyName [get, set] |
The key used to store the fileName in the context. Default is DefaultKeyName. More... | |
string | PartitionIdName [get, set] |
The key used to store the id of the partition. Default is DefaultPartitionIdName. More... | |
Detailed Description
Implementation of IPartitioner that locates multiple resources and associates their absolute URIs in the execution contexts. Create one execution context per resource, whatever the grid size.
Constructor & Destructor Documentation
Summer.Batch.Core.Partition.Support.MultiResourcePartitioner.MultiResourcePartitioner | ( | ) |
Default constructor
Member Function Documentation
IDictionary<string, ExecutionContext> Summer.Batch.Core.Partition.Support.MultiResourcePartitioner.Partition | ( | int | gridSize | ) |
Creates one partition per resource and adds the URI in the context.
- Parameters
-
gridSize ignored
- Returns
- a dictionary containing an execution context per resource
Implements Summer.Batch.Core.Partition.Support.IPartitioner.
Property Documentation
|
getset |
The key used to store the fileName in the context. Default is DefaultKeyName.
|
getset |
The key used to store the id of the partition. Default is DefaultPartitionIdName.
|
getset |
The resources to assign to each partition.
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Partition/Support/MultiResourcePartitioner.cs