Class LimitedConcurrencyLevelTaskScheduler
Provides a task scheduler that ensures a maximum concurrency level while running on top of the thread pool.
Source: https://msdn.microsoft.com/en-us/library/system.threading.tasks.taskscheduler(v=vs.110).aspx
Inheritance
System.Object
LimitedConcurrencyLevelTaskScheduler
Assembly: DistributedLucene.Net.dll
Syntax
public class LimitedConcurrencyLevelTaskScheduler : TaskScheduler
Constructors
Name | Description |
---|---|
LimitedConcurrencyLevelTaskScheduler(Int32) |
Properties
Name | Description |
---|---|
MaximumConcurrencyLevel |
Methods
Name | Description |
---|---|
GetScheduledTasks() | |
QueueTask(Task) | |
TryDequeue(Task) | |
TryExecuteTaskInline(Task, Boolean) |