Public Member Functions |
Protected Member Functions |
Protected Attributes |
Properties |
List of all members
Summer.Batch.Core.Step.Item.SimpleChunkProvider< T > Class Template Reference
Simple implementation of the T:IChunkProvider interface that does basic chunk providing from an T:Summer.Batch.Infrastructure.Item.IItemReader. More...
Inheritance diagram for Summer.Batch.Core.Step.Item.SimpleChunkProvider< T >:
Public Member Functions | |
SimpleChunkProvider (IItemReader< T > itemReader, IRepeatOperations repeatOperations) | |
Custom constructor More... | |
Chunk< T > | Provide (StepContribution contribution) |
void | PostProcess (StepContribution contribution, Chunk< T > chunk) |
Public Member Functions inherited from Summer.Batch.Core.Step.Item.IChunkProvider< T > | |
Chunk< TT > | Provide (StepContribution contribution) |
Provides the chunk. More... | |
void | PostProcess (StepContribution contribution, Chunk< TT > chunk) |
Post-processing operation support. More... | |
Protected Member Functions | |
T | Read (StepContribution contribution, Chunk< T > chunk) |
Read Delegates to DoRead(). Subclasses can add additional behaviour (e.g. exception handling). More... | |
T | DoRead () |
Read delegation. More... | |
Protected Attributes | |
readonly Logger | Logger = LogManager.GetCurrentClassLogger() |
Logger. More... | |
Properties | |
IItemReader< T > | ItemReader [get, protected set] |
Item reader property. More... | |
Detailed Description
Simple implementation of the T:IChunkProvider interface that does basic chunk providing from an T:Summer.Batch.Infrastructure.Item.IItemReader.
- Template Parameters
-
T
- Type Constraints
-
T : class
Constructor & Destructor Documentation
Summer.Batch.Core.Step.Item.SimpleChunkProvider< T >.SimpleChunkProvider | ( | IItemReader< T > | itemReader, |
IRepeatOperations | repeatOperations | ||
) |
Custom constructor
- Parameters
-
itemReader repeatOperations
Member Function Documentation
|
protected |
Read delegation.
- Returns
- Exceptions
-
Exception
void Summer.Batch.Core.Step.Item.SimpleChunkProvider< T >.PostProcess | ( | StepContribution | contribution, |
Chunk< T > | chunk | ||
) |
- See also
- IChunkProvider::PostProcess.
- Parameters
-
contribution chunk
Chunk<T> Summer.Batch.Core.Step.Item.SimpleChunkProvider< T >.Provide | ( | StepContribution | contribution | ) |
|
protected |
Read Delegates to DoRead(). Subclasses can add additional behaviour (e.g. exception handling).
- Parameters
-
contribution the current step execution contribution chunk the current chunk
- Returns
- a new item for processing
- Exceptions
-
Exception if there is a generic issue
Member Data Documentation
|
protected |
Logger.
Property Documentation
|
getprotected set |
Item reader property.
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Step/Item/SimpleChunkProvider.cs