Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor Class Reference
An AttributeAccessor that synchronizes on a mutex (not this) before modifying or accessing the underlying attributes. More...
Inheritance diagram for Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor:
Public Member Functions | |
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... | |
Detailed Description
An AttributeAccessor that synchronizes on a mutex (not this) before modifying or accessing the underlying attributes.
Member Function Documentation
string [] Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor.AttributeNames | ( | ) |
- See also
- IAttributeAccessor::AttributeNames .
- Returns
Implements Summer.Batch.Common.Util.IAttributeAccessor.
void Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor.Dispose | ( | ) |
override bool Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor.Equals | ( | object | other | ) |
Equals override.
- Parameters
-
other
- Returns
object Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor.GetAttribute | ( | string | name | ) |
- See also
- IAttributeAccessor::GetAttribute .
- Parameters
-
name
- Returns
Implements Summer.Batch.Common.Util.IAttributeAccessor.
override int Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor.GetHashCode | ( | ) |
GetHashCode override.
- Returns
bool Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor.HasAttribute | ( | string | name | ) |
- See also
- IAttributeAccessor::HasAttribute .
- Parameters
-
name
- Returns
Implements Summer.Batch.Common.Util.IAttributeAccessor.
|
virtual |
- See also
- IAttributeAccessor::RemoveAttribute .
- Parameters
-
name
- Returns
Implements Summer.Batch.Common.Util.IAttributeAccessor.
Reimplemented in Summer.Batch.Core.Scope.Context.StepContext, and Summer.Batch.Core.Scope.Context.JobContext.
void Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor.SetAttribute | ( | string | name, |
object | val | ||
) |
- See also
- IAttributeAccessor::SetAttribute .
- Parameters
-
name val
Implements Summer.Batch.Common.Util.IAttributeAccessor.
object Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor.SetAttributeIfAbsent | ( | string | name, |
object | val | ||
) |
Additional support for atomic put if absent.
- Parameters
-
name val
- Returns
- null if the attribute was not already set, the existing value otherwise.
override string Summer.Batch.Infrastructure.Repeat.Context.SynchronizedAttributeAccessor.ToString | ( | ) |
ToString override.
- Returns
The documentation for this class was generated from the following file:
- Summer.Batch.Infrastructure/Repeat/Context/SynchronizedAttributeAccessor.cs