Manages a queue of requests.
More...
Inherits IDisposable.
|
virtual void | Dispose (bool disposing) |
| An overrideable version of the Dispose. More...
|
|
Manages a queue of requests.
UnifiedAutomation.UaBase.ApplicationThreadPool.ApplicationThreadPool |
( |
int |
threadCount, |
|
|
int |
bufferSize |
|
) |
| |
Initializes a new instance of the ThreadPool class.
- Parameters
-
threadCount | The number of threads in the pool. |
bufferSize | The maximum number of requests that will placed in the queue. |
void UnifiedAutomation.UaBase.ApplicationThreadPool.Dispose |
( |
| ) |
|
Frees any unmanaged resources.
virtual void UnifiedAutomation.UaBase.ApplicationThreadPool.Dispose |
( |
bool |
disposing | ) |
|
|
protectedvirtual |
An overrideable version of the Dispose.
virtual void UnifiedAutomation.UaBase.ApplicationThreadPool.Queue |
( |
object |
request, |
|
|
ThreadPoolEventHandler |
callback |
|
) |
| |
|
virtual |
Schedules an incoming request.
- Parameters
-
request | The request. |
callback | The callback. |
int UnifiedAutomation.UaBase.ApplicationThreadPool.ActiveThreadCount |
|
get |
Gets the active thread count.
The active thread count.
int UnifiedAutomation.UaBase.ApplicationThreadPool.MaxRequestCount |
|
get |
Gets the maximum request count.
The maximum request count.
int UnifiedAutomation.UaBase.ApplicationThreadPool.MinThreadCount |
|
get |
Gets the minimum thread count.
The minimum thread count.
string UnifiedAutomation.UaBase.ApplicationThreadPool.PoolName |
|
getset |
Gets or sets the name of the thread pool.
The name of the thread pool.
uint UnifiedAutomation.UaBase.ApplicationThreadPool.QueueLength |
|
get |
Gets the current length of the queue.
The current length of the queue.
int UnifiedAutomation.UaBase.ApplicationThreadPool.TotalThreadCount |
|
get |
Gets the total thread count.
The total thread count.
The documentation for this class was generated from the following file:
- D:/work/uasdknet_v3.2/src/UaBase/Application/ApplicationThreadPool.cs