Base IPartitionHandler implementation providing common base features. Subclasses are expected to implement only the DoHandle method which returns with the result of the execution(s) or an exception if the step failed to process. More...
Public Member Functions | |
ICollection< StepExecution > | Handle (IStepExecutionSplitter stepSplitter, StepExecution masterStepExecution) |
see IPartitionHandler::Handle . More... | |
Protected Member Functions | |
abstract ICollection< StepExecution > | DoHandle (StepExecution masterStepExecution, ICollection< StepExecution > partitionStepExecutions) |
Executes the specified StepExecution instances and returns an updated view of them. Throws an Exception if anything goes wrong. More... | |
Properties | |
int | GridSize [get, set] |
Grid size property. Defaults to 1. More... | |
Detailed Description
Base IPartitionHandler implementation providing common base features. Subclasses are expected to implement only the DoHandle method which returns with the result of the execution(s) or an exception if the step failed to process.
Member Function Documentation
|
protectedpure virtual |
Executes the specified StepExecution instances and returns an updated view of them. Throws an Exception if anything goes wrong.
- Parameters
-
masterStepExecution the whole partition execution partitionStepExecutions the StepExecution instances to execute
- Returns
- an updated view of these 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.TaskExecutorPartitionHandler.
ICollection<StepExecution> Summer.Batch.Core.Partition.Support.AbstractPartitionHandler.Handle | ( | IStepExecutionSplitter | stepSplitter, |
StepExecution | masterStepExecution | ||
) |
see IPartitionHandler::Handle .
- Parameters
-
stepSplitter masterStepExecution
- Returns
- Exceptions
-
Exception
Implements Summer.Batch.Core.Partition.IPartitionHandler.
Property Documentation
|
getset |
Grid size property. Defaults to 1.
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Partition/Support/AbstractPartitionHandler.cs