C# Class Disruptor.BlockingWaitStrategy

Blocking strategy that uses a lock and condition variable for IEventProcessors waiting on a barrier. This strategy should be used when performance and low-latency are not as important as CPU resource.
Inheritance: IWaitStrategy
Exibir arquivo Open project: disruptor-net/Disruptor-net

Public Methods

Method Description
SignalAllWhenBlocking ( ) : void

IWaitStrategy.SignalAllWhenBlocking

WaitFor ( long sequence, Sequence cursor, ISequence dependentSequence, ISequenceBarrier barrier ) : long

IWaitStrategy.WaitFor

Method Details

SignalAllWhenBlocking() public method

IWaitStrategy.SignalAllWhenBlocking
public SignalAllWhenBlocking ( ) : void
return void

WaitFor() public method

IWaitStrategy.WaitFor
public WaitFor ( long sequence, Sequence cursor, ISequence dependentSequence, ISequenceBarrier barrier ) : long
sequence long
cursor Sequence
dependentSequence ISequence
barrier ISequenceBarrier
return long