Class BothGuardedSynchronizationJob<TLeft, TRight>
- Namespace
- NMF.Synchronizations
- Assembly
- NMF.Synchronizations.dll
Denotes a class that represents a synchronization job guarded at both LHS and RHS
public class BothGuardedSynchronizationJob<TLeft, TRight> : GuardedSynchronizationJob<TLeft, TRight>, ISynchronizationJob<TLeft, TRight>
Type Parameters
TLeft
The LHS type
TRight
The RHS type
- Inheritance
-
GuardedSynchronizationJob<TLeft, TRight>BothGuardedSynchronizationJob<TLeft, TRight>
- Implements
-
ISynchronizationJob<TLeft, TRight>
- Inherited Members
Constructors
BothGuardedSynchronizationJob(ISynchronizationJob<TLeft, TRight>, ObservingFunc<TLeft, TRight, bool>)
Creates a new guarded synchronization job
public BothGuardedSynchronizationJob(ISynchronizationJob<TLeft, TRight> inner, ObservingFunc<TLeft, TRight, bool> guard)
Parameters
inner
ISynchronizationJob<TLeft, TRight>The inner synchronization job
guard
ObservingFunc<TLeft, TRight, bool>The actual guard
Methods
CreateTracker(SynchronizationComputation<TLeft, TRight>)
Creates a tracker for the given computation
protected override INotifyValue<bool> CreateTracker(SynchronizationComputation<TLeft, TRight> computation)
Parameters
computation
SynchronizationComputation<TLeft, TRight>The computation that shall be tracked