C# Class Disruptor.LiteTimeoutBlockingWaitStrategy

Variation of the TimeoutBlockingWaitStrategy that attempts to elide conditional wake-ups when the lock is uncontended.
Inheritance: IWaitStrategy
Exibir arquivo Open project: disruptor-net/Disruptor-net

Public Methods

Method Description
LiteTimeoutBlockingWaitStrategy ( System.TimeSpan timeout ) : System

Creates a LiteTimeoutBlockingWaitStrategy with the specified timeout.

SignalAllWhenBlocking ( ) : void

IWaitStrategy.SignalAllWhenBlocking.

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

IWaitStrategy.WaitFor.

Method Details

LiteTimeoutBlockingWaitStrategy() public method

Creates a LiteTimeoutBlockingWaitStrategy with the specified timeout.
public LiteTimeoutBlockingWaitStrategy ( System.TimeSpan timeout ) : System
timeout System.TimeSpan
return System

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