DefaultThreadPool Class

Quartz.NET 3.0 API Documentation
An implementation of the TaskSchedulerThreadPool using the default task scheduler
Inheritance Hierarchy

SystemObject
  Quartz.SimplTaskSchedulingThreadPool
    Quartz.SimplDefaultThreadPool

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

C#
public class DefaultThreadPool : TaskSchedulingThreadPool

The DefaultThreadPool type exposes the following members.

Constructors

  NameDescription
Public methodDefaultThreadPool
Initializes a new instance of the DefaultThreadPool 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 TaskScheduler.Default
(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