C# Класс Disruptor.SpinWaitWaitStrategy

Spin strategy that uses a SpinWait for IEventProcessors waiting on a barrier.

This strategy is a good compromise between performance and CPU resource. Latency spikes can occur after quiet periods.

Наследование: IWaitStrategy
Показать файл Открыть проект

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

Метод Описание
SignalAllWhenBlocking ( ) : void

IWaitStrategy.SignalAllWhenBlocking

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

IWaitStrategy.WaitFor

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

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