C# 클래스 Disruptor.LiteTimeoutBlockingWaitStrategy

Variation of the TimeoutBlockingWaitStrategy that attempts to elide conditional wake-ups when the lock is uncontended.
상속: IWaitStrategy
파일 보기 프로젝트 열기: disruptor-net/Disruptor-net

공개 메소드들

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