C# Class SocketServer.Utils.SequentialLeveledMultiQTaskScheduler

Inheritance: System.Threading.Tasks.TaskScheduler
Mostrar archivo Open project: khenidak/WebSocketsServer

Protected Methods

Method Description
GetScheduledTasks ( ) : IEnumerable
QueueTask ( Task task ) : void
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

Private Methods

Method Description
GetOrAddQueue ( string QueueId ) : ConcurrentLinkedList
ProcessWork ( string QueueId ) : void
RemoveQueue ( string QueueId, bool cancelTasks = true ) : bool

Method Details

GetScheduledTasks() protected method

protected GetScheduledTasks ( ) : IEnumerable
return IEnumerable

QueueTask() protected method

protected QueueTask ( Task task ) : void
task Task
return void

TryExecuteTaskInline() protected method

protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task
taskWasPreviouslyQueued bool
return bool