C# Класс Disruptor.LiteTimeoutBlockingWaitStrategy

Variation of the TimeoutBlockingWaitStrategy that attempts to elide conditional wake-ups when the lock is uncontended.
Наследование: IWaitStrategy
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

LiteTimeoutBlockingWaitStrategy() публичный Метод

Creates a LiteTimeoutBlockingWaitStrategy with the specified timeout.
public LiteTimeoutBlockingWaitStrategy ( System.TimeSpan timeout ) : System
timeout System.TimeSpan
Результат System

SignalAllWhenBlocking() публичный Метод

IWaitStrategy.SignalAllWhenBlocking.
public SignalAllWhenBlocking ( ) : void
Результат void

WaitFor() публичный Метод

IWaitStrategy.WaitFor.
public WaitFor ( long sequence, Sequence cursor, ISequence dependentSequence, ISequenceBarrier barrier ) : long
sequence long
cursor Sequence
dependentSequence ISequence
barrier ISequenceBarrier
Результат long