Class QueuedTaskScheduler
- Namespace
- Scaleout.Client.MethodInvocation
- Assembly
- Scaleout.Client.dll
Provides a TaskScheduler that provides control over priorities, fairness, and the underlying threads utilized.
public sealed class QueuedTaskScheduler : TaskScheduler, IDisposable
- Inheritance
-
QueuedTaskScheduler
- Implements
- Inherited Members
Constructors
- QueuedTaskScheduler()
Initializes the scheduler.
- QueuedTaskScheduler(int)
Initializes the scheduler.
- QueuedTaskScheduler(int, string, bool, ThreadPriority, int, Action, Action)
Initializes the scheduler.
- QueuedTaskScheduler(TaskScheduler)
Initializes the scheduler.
- QueuedTaskScheduler(TaskScheduler, int)
Initializes the scheduler.
Properties
- MaximumConcurrencyLevel
Gets the maximum concurrency level to use when processing tasks.
Methods
- ActivateNewQueue()
Creates and activates a new scheduling queue for this scheduler.
- ActivateNewQueue(int)
Creates and activates a new scheduling queue for this scheduler.
- Dispose()
Initiates shutdown of the scheduler.
- GetScheduledTasks()
Gets the tasks scheduled to this scheduler.
- QueueTask(Task)
Queues a task to the scheduler.
- TryExecuteTaskInline(Task, bool)
Tries to execute a task synchronously on the current thread.