C# Class Disruptor.LiteTimeoutBlockingWaitStrategy

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

Méthodes publiques

Méthode 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 méthode

Creates a LiteTimeoutBlockingWaitStrategy with the specified timeout.
public LiteTimeoutBlockingWaitStrategy ( System.TimeSpan timeout ) : System
timeout System.TimeSpan
Résultat System

SignalAllWhenBlocking() public méthode

IWaitStrategy.SignalAllWhenBlocking.
public SignalAllWhenBlocking ( ) : void
Résultat void

WaitFor() public méthode

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