Summer.Batch.Core.Scope.Context.ChunkContext Class Reference
Context object for weakly typed data stored for the duration of a chunk (usually a group of items processed together in a transaction). If there is a rollback and the chunk is retried the same context will be associated with it. More...
Inheritance diagram for Summer.Batch.Core.Scope.Context.ChunkContext:
Public Member Functions | |
ChunkContext (StepContext stepContext) | |
Custom constructor with a step context. More... | |
void | SetComplete () |
Setter for the flag to signal complete processing of a chunk. More... | |
override string | ToString () |
ToString override. More... | |
Public Member Functions inherited from Summer.Batch.Common.Util.AttributeAccessorSupport | |
void | SetAttribute (string name, object val) |
Sets the attribute. More... | |
object | GetAttribute (string name) |
Returns the attribute. More... | |
object | RemoveAttribute (string name) |
Removes the attribute from the dictionary. More... | |
bool | HasAttribute (string name) |
Tests if this key is present in the attributes dictionary. More... | |
string[] | AttributeNames () |
Dumps keys to an array of string. More... | |
void | Dispose () |
see https://msdn.microsoft.com/fr-fr/library/ms244737.aspx More... | |
Properties | |
bool | Complete [get] |
Complete flag property. More... | |
StepContext | StepContext [get] |
Step context property. More... | |
Detailed Description
Context object for weakly typed data stored for the duration of a chunk (usually a group of items processed together in a transaction). If there is a rollback and the chunk is retried the same context will be associated with it.
Constructor & Destructor Documentation
Summer.Batch.Core.Scope.Context.ChunkContext.ChunkContext | ( | StepContext | stepContext | ) |
Custom constructor with a step context.
- Parameters
-
stepContext
Member Function Documentation
void Summer.Batch.Core.Scope.Context.ChunkContext.SetComplete | ( | ) |
Setter for the flag to signal complete processing of a chunk.
override string Summer.Batch.Core.Scope.Context.ChunkContext.ToString | ( | ) |
ToString override.
- Returns
Property Documentation
|
get |
Complete flag property.
|
get |
Step context property.
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Scope/Context/ChunkContext.cs