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
파일 보기 프로젝트 열기: disruptor-net/Disruptor-net

공개 메소드들

메소드 설명
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