C# Class Summer.Batch.Core.Partition.Support.PartitionStep

Implementation of IStep which partitions the execution and spreads the load using an IPartitionHandler.
Inheritance: Summer.Batch.Core.Step.AbstractStep
Mostra file Open project: SummerBatch/SummerBatch

Public Methods

Method Description
AfterPropertiesSet ( ) : void

Asserts that mandatory properties are set (stepExecutionSplitter, partitionHandler) and delegate to superclass. @see IInitializationPostOperations#AfterPropertiesSet

PartitionStep ( ) : Summer.Batch.Core.Step

Default constructor.

PartitionStep ( string name ) : Summer.Batch.Core.Step

Custom constructor using a name.

Protected Methods

Method Description
DoExecute ( StepExecution stepExecution ) : void

Delegates execution to the provided IPartitionHandler. The StepExecution passed in here becomes the parent or master execution for the partition, summarising the status on exit of the logical grouping of work carried out by the PartitionHandler. The individual step executions and their input parameters (through ExecutionContext) for the partition elements are provided by the StepExecutionSplitter.

Method Details

AfterPropertiesSet() public method

Asserts that mandatory properties are set (stepExecutionSplitter, partitionHandler) and delegate to superclass. @see IInitializationPostOperations#AfterPropertiesSet
 
public AfterPropertiesSet ( ) : void
return void

DoExecute() protected method

Delegates execution to the provided IPartitionHandler. The StepExecution passed in here becomes the parent or master execution for the partition, summarising the status on exit of the logical grouping of work carried out by the PartitionHandler. The individual step executions and their input parameters (through ExecutionContext) for the partition elements are provided by the StepExecutionSplitter.
 
protected DoExecute ( StepExecution stepExecution ) : void
stepExecution StepExecution the master step execution for the partition
return void

PartitionStep() public method

Default constructor.
public PartitionStep ( ) : Summer.Batch.Core.Step
return Summer.Batch.Core.Step

PartitionStep() public method

Custom constructor using a name.
public PartitionStep ( string name ) : Summer.Batch.Core.Step
name string
return Summer.Batch.Core.Step