Summer.Batch.Infrastructure.Repeat.Policy.SimpleCompletionPolicy.SimpleTerminationContext Class Reference

SimpleTerminationContext More...

Inheritance diagram for Summer.Batch.Infrastructure.Repeat.Policy.SimpleCompletionPolicy.SimpleTerminationContext:
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

Public Member Functions

 SimpleTerminationContext (IRepeatContext context)
 Custom Constructor. More...
 
void Update ()
 Delegates to RepeatContextSupport::Increment. More...
 
bool IsComplete (SimpleCompletionPolicy owner)
 Tests completion using the owner's chunk size. More...
 
- Public Member Functions inherited from 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. 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...
 

Additional Inherited Members

- Properties inherited from Summer.Batch.Infrastructure.Repeat.Context.RepeatContextSupport
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

Constructor & Destructor Documentation

Summer.Batch.Infrastructure.Repeat.Policy.SimpleCompletionPolicy.SimpleTerminationContext.SimpleTerminationContext ( IRepeatContext  context)

Custom Constructor.

Parameters
context

Member Function Documentation

bool Summer.Batch.Infrastructure.Repeat.Policy.SimpleCompletionPolicy.SimpleTerminationContext.IsComplete ( SimpleCompletionPolicy  owner)

Tests completion using the owner's chunk size.

Parameters
owner
Returns
void Summer.Batch.Infrastructure.Repeat.Policy.SimpleCompletionPolicy.SimpleTerminationContext.Update ( )

Delegates to RepeatContextSupport::Increment.


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