DedicatedThreadPool Class

Quartz.NET 3.0 API Documentation
An implementation of the TaskSchedulingThreadPool which uses a custom task scheduler with a dedicated pool of threads reserved only for its own scheduling purposes
Inheritance Hierarchy

SystemObject
  Quartz.SimplTaskSchedulingThreadPool
    Quartz.SimplDedicatedThreadPool

Namespace:  Quartz.Simpl
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
public class DedicatedThreadPool : TaskSchedulingThreadPool

The DedicatedThreadPool type exposes the following members.

Constructors

  NameDescription
Public methodDedicatedThreadPool
Initializes a new instance of the DedicatedThreadPool class
Top
Properties

  NameDescription
Public propertyInstanceId (Inherited from TaskSchedulingThreadPool.)
Public propertyInstanceName (Inherited from TaskSchedulingThreadPool.)
Public propertyMaxConcurency
The maxmimum number of thread pool tasks which can be executing in parallel
(Inherited from TaskSchedulingThreadPool.)
Public propertyPoolSize
The number of tasks that can run concurrently in this thread pool
(Inherited from TaskSchedulingThreadPool.)
Public propertyScheduler
The TaskScheduler used to schedule tasks queued by users
(Inherited from TaskSchedulingThreadPool.)
Public propertyThreadCount
The maxmimum number of thread pool tasks which can be executing in parallel
(Inherited from TaskSchedulingThreadPool.)
Public propertyThreadPriority (Inherited from TaskSchedulingThreadPool.)
Top
Methods

  NameDescription
Public methodBlockForAvailableThreads
Determines the number of threads that are currently available in the pool; blocks until at least one is avaialble
(Inherited from TaskSchedulingThreadPool.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetDefaultScheduler
Returns a QueuedTaskScheduler
(Overrides TaskSchedulingThreadPoolGetDefaultScheduler.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Initializes the tread pool for use
(Inherited from TaskSchedulingThreadPool.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRunInThread
Schedules a task to run (using the task scheduler) as soon as concurrency rules allow it
(Inherited from TaskSchedulingThreadPool.)
Public methodShutdown
Stops processing new tasks and optionally waits for currently running tasks to finish
(Inherited from TaskSchedulingThreadPool.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference