The IThreadPool type exposes the following members.
Methods
Name | Description | |
---|---|---|
BlockForAvailableThreads |
Determines the number of threads that are currently available in in
the pool. Useful for determining the number of times
RunInThread(IThreadRunnable) can be called before returning
false.
| |
Initialize |
Must be called before the ThreadPool is
used, in order to give the it a chance to Initialize.
| |
RunInThread |
Execute the given IThreadRunnable in the next
available Thread.
| |
Shutdown |
Called by the QuartzScheduler to inform the ThreadPool
that it should free up all of it's resources because the scheduler is
shutting down.
|
Properties
Name | Description | |
---|---|---|
InstanceId |
Inform the IThreadPool of the Scheduler instance's Id,
prior to initialize being invoked.
| |
InstanceName |
Inform the IThreadPool of the Scheduler instance's name,
prior to initialize being invoked.
| |
PoolSize |
Get the current number of threads in the IThreadPool.
|
See Also