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:
Summer.Batch.Core.Partition.Support.IPartitioner

Public Member Functions

 MultiResourcePartitioner ()
 Default constructor More...
 
IDictionary< string, ExecutionContextPartition (int gridSize)
 Creates one partition per resource and adds the URI in the context. More...
 

Properties

IList< IResourceResources [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
gridSizeignored
Returns
a dictionary containing an execution context per resource

Implements Summer.Batch.Core.Partition.Support.IPartitioner.

Property Documentation

string Summer.Batch.Core.Partition.Support.MultiResourcePartitioner.KeyName
getset

The key used to store the fileName in the context. Default is DefaultKeyName.

string Summer.Batch.Core.Partition.Support.MultiResourcePartitioner.PartitionIdName
getset

The key used to store the id of the partition. Default is DefaultPartitionIdName.

IList<IResource> Summer.Batch.Core.Partition.Support.MultiResourcePartitioner.Resources
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