C# 클래스 Corlib.Collections.Concurrent.ProducerConsumerCollectionObservableOptions

Options for converting a ProducerConsumerCollection`1 to an observable sequence
파일 보기 프로젝트 열기: GeorgeTsiokos/corlib 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
ProducerConsumerCollectionObservableOptions ( System.TimeSpan pollInterval, System.TimeSpan timeout, int boundedCapacity, IScheduler scheduler ) : System

Creates a new instance of options

메소드 상세

ProducerConsumerCollectionObservableOptions() 공개 메소드

Creates a new instance of options
public ProducerConsumerCollectionObservableOptions ( System.TimeSpan pollInterval, System.TimeSpan timeout, int boundedCapacity, IScheduler scheduler ) : System
pollInterval System.TimeSpan null to disable polling, otherwise interval to poll
timeout System.TimeSpan null to complete the sequence if polling is disabled, /// if polling is enabled, items will be taken from the collection until the TryTake /// method returns false, if there is a timeout, the timeout is passed to a /// wrapping the collection
boundedCapacity int only used if timeout has a value, indicating /// the boundedCpacity for the
scheduler IScheduler scheduler to schedule the dequeue for each poll if polling is enabled /// or, to schedule the only an only poll if polling is disabled
리턴 System