Summer.Batch.Core.Partition.Support.AbstractPartitionHandler Class Referenceabstract

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...

Inheritance diagram for Summer.Batch.Core.Partition.Support.AbstractPartitionHandler:
Summer.Batch.Core.Partition.IPartitionHandler Summer.Batch.Core.Partition.Support.TaskExecutorPartitionHandler

Public Member Functions

ICollection< StepExecutionHandle (IStepExecutionSplitter stepSplitter, StepExecution masterStepExecution)
 see IPartitionHandler::Handle . More...
 

Protected Member Functions

abstract ICollection< StepExecutionDoHandle (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

abstract ICollection<StepExecution> Summer.Batch.Core.Partition.Support.AbstractPartitionHandler.DoHandle ( StepExecution  masterStepExecution,
ICollection< StepExecution partitionStepExecutions 
)
protectedpure virtual

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

Parameters
masterStepExecutionthe whole partition execution
partitionStepExecutionsthe 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

int Summer.Batch.Core.Partition.Support.AbstractPartitionHandler.GridSize
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