Summer.Batch.Infrastructure.Item.IItemStream Interface Reference

Interface for periodically storing and restoring state should an error occur. More...

Inheritance diagram for Summer.Batch.Infrastructure.Item.IItemStream:
Summer.Batch.Infrastructure.Item.IItemStreamReader< out out T > Summer.Batch.Infrastructure.Item.IItemStreamWriter< T > Summer.Batch.Infrastructure.Item.Support.CompositeItemStream Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport Summer.Batch.Infrastructure.Item.File.IResourceAwareItemWriterItemStream< T > Summer.Batch.Infrastructure.Item.Support.AbstractItemStreamItemWriter< T > Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T > Summer.Batch.Infrastructure.Item.File.MultiResourceItemReader< T > Summer.Batch.Infrastructure.Item.Support.AbstractItemStreamItemReader< T > Summer.Batch.Infrastructure.Item.Support.AbstractItemStreamItemWriter< T > Summer.Batch.Extra.Ebcdic.EbcdicFileWriter< T > Summer.Batch.Infrastructure.Item.File.FlatFileItemWriter< T > Summer.Batch.Extra.Ebcdic.EbcdicFileWriter< T > Summer.Batch.Infrastructure.Item.File.FlatFileItemWriter< T > Summer.Batch.Infrastructure.Item.Support.AbstractItemCountingItemStreamItemReader< T > Summer.Batch.Extra.Ebcdic.EbcdicFileWriter< T > Summer.Batch.Infrastructure.Item.File.FlatFileItemWriter< T > Summer.Batch.Extra.Ebcdic.EbcdicFileReader< T > Summer.Batch.Infrastructure.Item.Database.DataReaderItemReader< T > Summer.Batch.Infrastructure.Item.File.FlatFileItemReader< T >

Public Member Functions

void Open (ExecutionContext executionContext)
 Open the stream for the provided ExecutionContext. More...
 
void Update (ExecutionContext executionContext)
 Indicates that the execution context provided during open is about to be saved. If any state is remaining, but has not been put in the context, it should be added here. More...
 
void Flush ()
 Flushes the stream if able. More...
 
void Close ()
 If any resources are needed for the stream to operate they need to be destroyed here. Once this method has been called all other methods (except open) may throw an exception. More...
 

Detailed Description

Interface for periodically storing and restoring state should an error occur.

Member Function Documentation

void Summer.Batch.Infrastructure.Item.IItemStream.Update ( ExecutionContext  executionContext)

Indicates that the execution context provided during open is about to be saved. If any state is remaining, but has not been put in the context, it should be added here.

Parameters
executionContextto be updated
Exceptions
ItemStreamException 
ArgumentException if execution context is null

Implemented in Summer.Batch.Infrastructure.Item.File.FlatFileItemWriter< T >, Summer.Batch.Extra.Ebcdic.EbcdicFileWriter< T >, Summer.Batch.Infrastructure.Item.Support.AbstractItemCountingItemStreamItemReader< T >, Summer.Batch.Infrastructure.Item.File.MultiResourceItemReader< T >, Summer.Batch.Infrastructure.Item.Support.CompositeItemStream, Summer.Batch.Infrastructure.Item.Support.CompositeItemWriter< T >, and Summer.Batch.Infrastructure.Item.Util.ItemStreamSupport.


The documentation for this interface was generated from the following file:
  • Summer.Batch.Infrastructure/Item/IItemStream.cs