C# 클래스 Helios.Concurrency.EventExecutorTaskScheduler

Wraps a IEventExecutor inside a TaskScheduler and allow scheduling of Task instances onto that executor.
상속: System.Threading.Tasks.TaskScheduler
파일 보기 프로젝트 열기: helios-io/helios 1 사용 예제들

공개 메소드들

메소드 설명
EventExecutorTaskScheduler ( IEventExecutor executor ) : System.Collections.Generic

보호된 메소드들

메소드 설명
GetScheduledTasks ( ) : IEnumerable
QueueTask ( System.Threading.Tasks.Task task ) : void
TryDequeue ( System.Threading.Tasks.Task task ) : bool
TryExecuteTaskInline ( System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued ) : bool

메소드 상세

EventExecutorTaskScheduler() 공개 메소드

public EventExecutorTaskScheduler ( IEventExecutor executor ) : System.Collections.Generic
executor IEventExecutor
리턴 System.Collections.Generic

GetScheduledTasks() 보호된 메소드

protected GetScheduledTasks ( ) : IEnumerable
리턴 IEnumerable

QueueTask() 보호된 메소드

protected QueueTask ( System.Threading.Tasks.Task task ) : void
task System.Threading.Tasks.Task
리턴 void

TryDequeue() 보호된 메소드

protected TryDequeue ( System.Threading.Tasks.Task task ) : bool
task System.Threading.Tasks.Task
리턴 bool

TryExecuteTaskInline() 보호된 메소드

protected TryExecuteTaskInline ( System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued ) : bool
task System.Threading.Tasks.Task
taskWasPreviouslyQueued bool
리턴 bool