Interface defining the responsibilities of controlling the execution of a partitioned StepExecution. Implementations will need to create a partition with the IStepExecutionSplitter, and then use an execution fabric (grid, etc.), to execute the partitioned step. The results of the executions can be returned raw from remote workers to be aggregated by the caller. More...
Public Member Functions | |
ICollection< StepExecution > | Handle (IStepExecutionSplitter stepSplitter, StepExecution stepExecution) |
Main entry point for IPartitionHandler interface. The splitter creates all the executions that need to be farmed out, along with their input parameters (in the form of their Summer.Batch.Infrastructure.Item.ExecutionContext). The master step execution is used to identify the partition and group together the results logically. More... | |
Detailed Description
Interface defining the responsibilities of controlling the execution of a partitioned StepExecution. Implementations will need to create a partition with the IStepExecutionSplitter, and then use an execution fabric (grid, etc.), to execute the partitioned step. The results of the executions can be returned raw from remote workers to be aggregated by the caller.
Member Function Documentation
ICollection<StepExecution> Summer.Batch.Core.Partition.IPartitionHandler.Handle | ( | IStepExecutionSplitter | stepSplitter, |
StepExecution | stepExecution | ||
) |
Main entry point for IPartitionHandler interface. The splitter creates all the executions that need to be farmed out, along with their input parameters (in the form of their Summer.Batch.Infrastructure.Item.ExecutionContext). The master step execution is used to identify the partition and group together the results logically.
- Parameters
-
stepSplitter a strategy for generating a collection of StepExecution instances stepExecution the master step execution for the whole partition
- Returns
- a collection of completed StepExecution instances
- Exceptions
-
Exception if anything goes wrong. This allows implementations to be liberal and rely on the caller to translate an exception into a step failure as necessary.
Implemented in Summer.Batch.Core.Partition.Support.AbstractPartitionHandler.
The documentation for this interface was generated from the following file:
- Summer.Batch.Core/Core/Partition/IPartitionHandler.cs