C# Class 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.
Inheritance: IPartitionHandler
Afficher le fichier Open project: SummerBatch/SummerBatch

Méthodes publiques

Méthode Description
Handle ( IStepExecutionSplitter stepSplitter, StepExecution masterStepExecution ) : ICollection

see IPartitionHandler#Handle .

Méthodes protégées

Méthode Description
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.

Method Details

DoHandle() protected abstract méthode

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
Résultat ICollection

Handle() public méthode

see IPartitionHandler#Handle .
 
public Handle ( IStepExecutionSplitter stepSplitter, StepExecution masterStepExecution ) : ICollection
stepSplitter IStepExecutionSplitter
masterStepExecution StepExecution
Résultat ICollection