SimpleThreadPool MembersQuartz.NET API Documentation

The SimpleThreadPool type exposes the following members.

Constructors

  NameDescription
Public methodSimpleThreadPool 
Create a new (unconfigured) SimpleThreadPool.
Public methodSimpleThreadPool(Int32, ThreadPriority)
Create a new SimpleThreadPool with the specified number of Thread s that have the given priority.
Top
Methods

  NameDescription
Public methodBlockForAvailableThreads
Protected methodClearFromBusyWorkersList
Protected methodCreateWorkerThreads
Creates the worker threads.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Called by the QuartzScheduler before the ThreadPool is used, in order to give the it a chance to Initialize.
Protected methodMakeAvailable
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRunInThread
Run the given IThreadRunnable object in the next available Thread. If while waiting the thread pool is asked to shut down, the Runnable is executed immediately within a new additional thread.
Public methodShutdown 
Terminate any worker threads in this thread group. Jobs currently in progress will complete.
Public methodShutdown(Boolean)
Terminate any worker threads in this thread group. Jobs currently in progress will complete.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyMakeThreadsDaemons
Gets or sets the value of makeThreadsDaemons.
Public propertyPoolSize
Gets the size of the pool.
Public propertyThreadCount
Gets or sets the number of worker threads in the pool. Set has no effect after Initialize  has been called.
Public propertyThreadNamePrefix
Gets or sets the thread name prefix.
Public propertyThreadPriority
Get or set the thread priority of worker threads in the pool. Set operation has no effect after Initialize  has been called.
Top
See Also