Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport Class Reference

Support for repeat context. More...

Inheritance diagram for Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport:
Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor Summer.Batch.Infrastructure.Repeat.IRepeatContext Summer.Batch.Common.Util.IAttributeAccessor Summer.Batch.Common.Util.IAttributeAccessor Summer.Batch.Infrastructure.Repeat.Policy.SimpleCompletionPolicy.SimpleTerminationContext

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 ( )
int Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.GetStartedCount ( )

Returns counter value.

Returns

Implements Summer.Batch.Infrastructure.Repeat.IRepeatContext.

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 ( )
bool Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.IsTerminateOnly ( )
void Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.RegisterDestructionCallback ( string  name,
Task  callback 
)
void Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.SetCompleteOnly ( )
void Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.SetTerminateOnly ( )

Property Documentation

IRepeatContext Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport.Parent
get

Parent repeat context.


The documentation for this class was generated from the following file:
  • Summer.Batch.Infrastructure/Repeat/Context/RepeatContextSupport.cs