Support for repeat context. More...
Public Member Functions | |
RepeatContextSupport (IRepeatContext parent) | |
Constructor for RepeatContextSupport. The parent can be null, but should be set to the enclosing repeat context if there is one, e.g. if this context is an inner loop. More... | |
void | Increment () |
Used by clients to increment the started count. Method is synchronized (see the [MethodImpl(MethodImplOptions.Synchronized)] attribute). More... | |
int | GetStartedCount () |
Returns counter value. More... | |
void | SetCompleteOnly () |
bool | IsCompleteOnly () |
void | SetTerminateOnly () |
bool | IsTerminateOnly () |
void | RegisterDestructionCallback (string name, Task callback) |
void | Close () |
Public Member Functions inherited from Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor | |
void | SetAttribute (string name, object val) |
object | GetAttribute (string name) |
virtual object | RemoveAttribute (string name) |
bool | HasAttribute (string name) |
string[] | AttributeNames () |
override string | ToString () |
ToString override. More... | |
object | SetAttributeIfAbsent (string name, object val) |
Additional support for atomic put if absent. More... | |
override int | GetHashCode () |
GetHashCode override. More... | |
override bool | Equals (object other) |
Equals override. More... | |
void | Dispose () |
see https://msdn.microsoft.com/fr-fr/library/ms244737.aspx More... | |
Properties | |
IRepeatContext | Parent [get] |
Parent repeat context. More... | |
Properties inherited from Summer.Batch.Infrastructure.Repeat.IRepeatContext | |
IRepeatContext | Parent [get] |
If batches are nested, then the inner batch will be created with the outer one as a parent. This is an accessor for the parent if it exists. More... | |
Detailed Description
Support for repeat context.
Constructor & Destructor Documentation
Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.RepeatContextSupport | ( | IRepeatContext | parent | ) |
Constructor for RepeatContextSupport. The parent can be null, but should be set to the enclosing repeat context if there is one, e.g. if this context is an inner loop.
- Parameters
-
parent
Member Function Documentation
void Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.Close | ( | ) |
- See also
- IRepeatContext::Close .
Implements Summer.Batch.Infrastructure.Repeat.IRepeatContext.
int Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.GetStartedCount | ( | ) |
void Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.Increment | ( | ) |
Used by clients to increment the started count. Method is synchronized (see the [MethodImpl(MethodImplOptions.Synchronized)] attribute).
bool Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.IsCompleteOnly | ( | ) |
- See also
- IRepeatContext::IsCompleteOnly .
- Returns
Implements Summer.Batch.Infrastructure.Repeat.IRepeatContext.
bool Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.IsTerminateOnly | ( | ) |
- See also
- IRepeatContext::IsTerminateOnly .
- Returns
Implements Summer.Batch.Infrastructure.Repeat.IRepeatContext.
void Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.RegisterDestructionCallback | ( | string | name, |
Task | callback | ||
) |
- Parameters
-
name callback
Implements Summer.Batch.Infrastructure.Repeat.IRepeatContext.
void Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.SetCompleteOnly | ( | ) |
- See also
- IRepeatContext::SetCompleteOnly .
Implements Summer.Batch.Infrastructure.Repeat.IRepeatContext.
void Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.SetTerminateOnly | ( | ) |
- See also
- IRepeatContext::SetTerminateOnly .
Implements Summer.Batch.Infrastructure.Repeat.IRepeatContext.
Property Documentation
|
get |
Parent repeat context.
The documentation for this class was generated from the following file:
- Summer.Batch.Infrastructure/Repeat/Context/RepeatContextSupport.cs