Summer.Batch.Infrastructure.Item.File.MultiResourceItemReader< T > Class Template Reference

Reads items from a collection of resources sequentially. Ordering of resources is preserved between jobs runs (restartability support) using the provided comparer. More...

Inheritance diagram for Summer.Batch.Infrastructure.Item.File.MultiResourceItemReader< T >:
Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport Summer.Batch.Infrastructure.Item.IItemStreamReader< T > Summer.Batch.Infrastructure.Item.IItemStream

Public Member Functions

 MultiResourceItemReader ()
 Default constructor. More...
 
override void Open (ExecutionContext executionContext)
 Open resources. More...
 
override void Close ()
 Delegates to delegate stream. More...
 
override void Update (ExecutionContext executionContext)
 Delegates to delegate stream. More...
 
override void Flush ()
 Delegates to delegate stream. More...
 
Read ()
 Read from current resource. More...
 
- Public Member Functions inherited from Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport
string GetExecutionContextKey (string key)
 Transform the given key to use the name of this instance as prefix. More...
 
virtual void Dispose ()
 

Properties

IResourceAwareItemReaderItemStream< T > Delegate [get, set]
 Delegate stream. More...
 
IResource[] Resources [get, set]
 Collection of used resources. More...
 
bool SaveState [get, set]
 Save state. More...
 
IComparer< IResourceComparer [get, set]
 Comparer. More...
 
bool Strict [get, set]
 Strict mode indicator. More...
 
IResource CurrentResource [get]
 Returns the current resource. More...
 
- Properties inherited from Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport
string Name [set]
 The name of the component that will be used as prefix for keys in the execution context. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport
virtual void Dispose (bool disposing)
 Does the actual dipose, delegating to Close(); More...
 

Detailed Description

Reads items from a collection of resources sequentially. Ordering of resources is preserved between jobs runs (restartability support) using the provided comparer.

Template Parameters
T 
Type Constraints
T :class 

Constructor & Destructor Documentation

Member Function Documentation

Delegates to delegate stream.

Reimplemented from Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport.

Delegates to delegate stream.

Reimplemented from Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport.

override void Summer.Batch.Infrastructure.Item.File.MultiResourceItemReader< T >.Open ( ExecutionContext  executionContext)
virtual

Open resources.

Parameters
executionContext

Reimplemented from Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport.

Read from current resource.

Returns
override void Summer.Batch.Infrastructure.Item.File.MultiResourceItemReader< T >.Update ( ExecutionContext  executionContext)
virtual

Delegates to delegate stream.

Parameters
executionContext

Reimplemented from Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport.

Property Documentation

Returns the current resource.

Collection of used resources.

Save state.

Strict mode indicator.


The documentation for this class was generated from the following file:
  • Summer.Batch.Infrastructure/Item/File/MultiResourceItemReader.cs