TaskSchedulingThreadPool Class

Quartz.NET 3.0 API Documentation
An IThreadPool implementation which schedules tasks using a TaskScheduler (provided by implementers)
Inheritance Hierarchy

SystemObject
  Quartz.SimplTaskSchedulingThreadPool
    Quartz.SimplDedicatedThreadPool
    Quartz.SimplDefaultThreadPool

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

C#
public abstract class TaskSchedulingThreadPool : IThreadPool

The TaskSchedulingThreadPool type exposes the following members.

Constructors

  NameDescription
Public methodTaskSchedulingThreadPool
Initializes a new instance of the TaskSchedulingThreadPool class
Public methodTaskSchedulingThreadPool(Int32)
Initializes a new instance of the TaskSchedulingThreadPool class
Top
Properties

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

  NameDescription
Public methodBlockForAvailableThreads
Determines the number of threads that are currently available in the pool; blocks until at least one is avaialble
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
Implementers should override this to provide the TaskScheduler used by their thread pool.
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
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
Public methodShutdown
Stops processing new tasks and optionally waits for currently running tasks to finish
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields

  NameDescription
Protected fieldStatic memberDefaultMaxConcurrency
Top
See Also

Reference