C# 클래스 System.Threading.Tasks.Schedulers.ConcurrentExclusiveInterleave.ConcurrentExclusiveTaskScheduler

A scheduler shim used to queue tasks to the interleave and execute those tasks on request of the interleave.
상속: TaskScheduler
파일 보기 프로젝트 열기: bingyang001/disruptor-net-3.3.0-alpha

Private Properties

프로퍼티 타입 설명
ConcurrentExclusiveTaskScheduler System.Collections.Generic
ExecuteTask void

보호된 메소드들

메소드 설명
GetScheduledTasks ( ) : IEnumerable

Gets for debugging purposes the tasks scheduled to this scheduler.

QueueTask ( Task task ) : void

Queues a task to the scheduler.

TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

Tries to execute the task synchronously on this scheduler.

비공개 메소드들

메소드 설명
ConcurrentExclusiveTaskScheduler ( ConcurrentExclusiveInterleave interleave, Queue tasks, int maximumConcurrencyLevel ) : System.Collections.Generic

Initializes the scheduler.

ExecuteTask ( Task task ) : void

Executes a task on this scheduler.

메소드 상세

GetScheduledTasks() 보호된 메소드

Gets for debugging purposes the tasks scheduled to this scheduler.
protected GetScheduledTasks ( ) : IEnumerable
리턴 IEnumerable

QueueTask() 보호된 메소드

Queues a task to the scheduler.
protected QueueTask ( Task task ) : void
task Task The task to be queued.
리턴 void

TryExecuteTaskInline() 보호된 메소드

Tries to execute the task synchronously on this scheduler.
protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task The task to execute.
taskWasPreviouslyQueued bool Whether the task was previously queued to the scheduler.
리턴 bool