C# Класс Summer.Batch.Core.Partition.Support.AbstractPartitionHandler

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.
Наследование: IPartitionHandler
Показать файл Открыть проект

Открытые методы

Метод Описание
Handle ( IStepExecutionSplitter stepSplitter, StepExecution masterStepExecution ) : ICollection

see IPartitionHandler#Handle .

Защищенные методы

Метод Описание
DoHandle ( StepExecution masterStepExecution, ICollection partitionStepExecutions ) : ICollection

Executes the specified StepExecution instances and returns an updated view of them. Throws an Exception if anything goes wrong.

Описание методов

DoHandle() защищенный абстрактный Метод

Executes the specified StepExecution instances and returns an updated view of them. Throws an Exception if anything goes wrong.
 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.
protected abstract DoHandle ( StepExecution masterStepExecution, ICollection partitionStepExecutions ) : ICollection
masterStepExecution StepExecution the whole partition execution
partitionStepExecutions ICollection the StepExecution instances to execute
Результат ICollection

Handle() публичный Метод

see IPartitionHandler#Handle .
 
public Handle ( IStepExecutionSplitter stepSplitter, StepExecution masterStepExecution ) : ICollection
stepSplitter IStepExecutionSplitter
masterStepExecution StepExecution
Результат ICollection