C# 클래스 WebSocketServer.Utils.SequentialLeveledTaskScheduler

상속: System.Threading.Tasks.TaskScheduler
파일 보기 프로젝트 열기: khenidak/WebSocketsServer

공개 메소드들

메소드 설명
AddQueue ( string QueueId ) : void
GetScheduledTasks ( string QueueId ) : IEnumerable
RemoveQueue ( string QueueId ) : void

보호된 메소드들

메소드 설명
GetScheduledTasks ( ) : IEnumerable
QueueTask ( Task task ) : void
TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool

비공개 메소드들

메소드 설명
GetOrAddLock ( string QueueId, bool AddIfNotExist = true ) : object
GetOrAddQueue ( string QueueId, bool isHighPriority, bool addIfNotExist = true ) : ConcurrentQueue
ProcessUnleveledTask ( Task task ) : void
ProcessWork ( string QueueId ) : void
TaskAsLeveledTask ( Task task ) : ILeveledTask

메소드 상세

AddQueue() 공개 메소드

public AddQueue ( string QueueId ) : void
QueueId string
리턴 void

GetScheduledTasks() 보호된 메소드

protected GetScheduledTasks ( ) : IEnumerable
리턴 IEnumerable

GetScheduledTasks() 공개 메소드

public GetScheduledTasks ( string QueueId ) : IEnumerable
QueueId string
리턴 IEnumerable

QueueTask() 보호된 메소드

protected QueueTask ( Task task ) : void
task Task
리턴 void

RemoveQueue() 공개 메소드

public RemoveQueue ( string QueueId ) : void
QueueId string
리턴 void

TryExecuteTaskInline() 보호된 메소드

protected TryExecuteTaskInline ( Task task, bool taskWasPreviouslyQueued ) : bool
task Task
taskWasPreviouslyQueued bool
리턴 bool