ThreadPoolSize Element for Distributor (ADF)
Specifies the maximum number of threads that the distributor can use to process work items.
语法
<Distributors>
<Distributor>
...
<ThreadPoolSize>
Element Characteristics
Characteristic | Description |
---|---|
Data type |
Nonnegative integer. |
Default value |
3. |
Occurrence |
Optional once per Distributor element. |
Updateable |
Can be added, deleted, and modified when updating the application. |
Element Relationships
Relationship | Elements |
---|---|
Parent element |
|
Child elements |
None. |
备注
The value of the ThreadPoolSize element determines the degree to which the distributor can perform work in parallel, and affects the overall performance of the Notification Services system.
ThreadPoolSize can have values between 1 and 3 in Notification Services Standard Edition. The ThreadPoolSize value is unlimited in other editions. Note that the ThreadPoolSize value represents a maximum; the actual number of threads depends on the availability of system resources.
示例
The following example shows how to configure the distributor to use three threads to process work items.
<ThreadPoolSize>3</ThreadPoolSize>
请参阅
参考
Application Definition File Reference