Calls a collection of IItemWriter. Delegate writers are kept in an ordered collection. Thread-safe, provided delegates are thread-safe as well. More...
Public Member Functions | |
void | Open (ExecutionContext executionContext) |
Open list of delegate writers. More... | |
void | Update (ExecutionContext executionContext) |
Call update on list of delegate writers. More... | |
void | Close () |
Call close on list of delegate writers. More... | |
void | Flush () |
Call flush on list of delegate writers. More... | |
void | Write (IList< T > items) |
Call write on list of delegate writers. More... | |
virtual void | Dispose () |
Releases the resources used by the writers. More... | |
Protected Member Functions | |
void | Dispose (bool disposing) |
Does the actual dispose, simply delegating to Close(); More... | |
Properties | |
IList< IItemWriter< T > > | Delegates [get, set] |
Collection of delegate writers. More... | |
Detailed Description
Calls a collection of IItemWriter. Delegate writers are kept in an ordered collection. Thread-safe, provided delegates are thread-safe as well.
- Template Parameters
-
T
- Type Constraints
-
T : class
Member Function Documentation
void Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T >.Close | ( | ) |
Call close on list of delegate writers.
Implements Summer.Batch.Infrastructure.Item.IItemStream.
|
virtual |
Releases the resources used by the writers.
|
protected |
Does the actual dispose, simply delegating to Close();
- Parameters
-
disposing
void Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T >.Flush | ( | ) |
Call flush on list of delegate writers.
Implements Summer.Batch.Infrastructure.Item.IItemStream.
void Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T >.Open | ( | ExecutionContext | executionContext | ) |
Open list of delegate writers.
- Parameters
-
executionContext
Implements Summer.Batch.Infrastructure.Item.IItemStream.
void Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T >.Update | ( | ExecutionContext | executionContext | ) |
Call update on list of delegate writers.
- Parameters
-
executionContext
Implements Summer.Batch.Infrastructure.Item.IItemStream.
void Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T >.Write | ( | IList< T > | items | ) |
Call write on list of delegate writers.
- Parameters
-
items
Implements Summer.Batch.Infrastructure.Item.IItemWriter< T >.
Property Documentation
|
getset |
Collection of delegate writers.
The documentation for this class was generated from the following file:
- Summer.Batch.Infrastructure/Item/Support/CompositeItemWriter.cs