C# Class SocketServer.Utils.SequentialLeveledMultiQTaskScheduler

Inheritance: System.Threading.Tasks.TaskScheduler
Afficher le fichier Open project: khenidak/WebSocketsServer

Méthodes protégées

Méthode Description
GetScheduledTasks ( ) : IEnumerable
QueueTask ( Task task ) : void
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

Private Methods

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

Method Details

GetScheduledTasks() protected méthode

protected GetScheduledTasks ( ) : IEnumerable
Résultat IEnumerable

QueueTask() protected méthode

protected QueueTask ( Task task ) : void
task Task
Résultat void

TryExecuteTaskInline() protected méthode

protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task
taskWasPreviouslyQueued bool
Résultat bool