Summer.Batch.Core.Partition.Support.IPartitionNameProvider Interface Reference

Optional interface for IPartitioner implementations that need to use a custom naming scheme for partitions. It is not necessary to implement this interface if a partitioner uses the default partition names. More...

Public Member Functions

ICollection< string > GetPartitionNames (int gridSize)
 

Detailed Description

Optional interface for IPartitioner implementations that need to use a custom naming scheme for partitions. It is not necessary to implement this interface if a partitioner uses the default partition names.

If a partitioner does implement this interface, however, on a restart the IPartitioner::Partition(int) method will not be called again, instead the partitions will be re-used from the last execution, and matched by name with the results of IPartitionNameProvider::GetPartitionNames(int). This can be a useful performance optimisation if the partitioning process is expensive.

Member Function Documentation

ICollection<string> Summer.Batch.Core.Partition.Support.IPartitionNameProvider.GetPartitionNames ( int  gridSize)

Parameters
gridSize
Returns
the partition names given grid size

The documentation for this interface was generated from the following file:
  • Summer.Batch.Core/Core/Partition/Support/IPartitionNameProvider.cs