QuantumDuration Element for Distributor (ADF)
Defines the length of time for a distributor quantum, which determines how frequently Notification Services invokes the distributor.
구문
<Distributors>
<Distributor>
...
<QuantumDuration>
Element Characteristics
Characteristic | Description |
---|---|
Data type |
duration. |
Default value |
60 seconds. |
Occurrence |
Optional once per Distributor element. |
Updateable |
Can be modified, but not added or deleted, when updating the application. |
Element Relationships
Relationship | Elements |
---|---|
Parent element |
|
Child elements |
None. |
주의
The distributor quantum duration controls how often Notification Services invokes the distributor to process available work items. Note than the distributor quantum has an effect only when the distributor is idle. When the distributor is processing work items, it waits until it is finished processing the current work item before it attempts to process additional work items.
Shorter quantum durations cause Notification Services to invoke the distributor more frequently, but require more resources. You need to balance the need for responsiveness during idle periods with the processing load placed on the Microsoft SQL Server database engine by running the distributor more frequently. For more information, see 생성자 퀀텀 기간 지정.
The format of the XML duration data type is PnYnMnDTnHnMnS. For more information about XML data types, see Primitive XML Data Types in the MSDN Library.
예
The following example shows how to define a distributor quantum duration of 1 minute and 30 seconds.
<QuantumDuration>P0DT00H01M30S</QuantumDuration>
참고 항목
참조
Application Definition File Reference
관련 자료
생성자 퀀텀 기간 지정
인스턴스 및 응용 프로그램 업데이트