QuantumDuration Element for ApplicationExecutionSettings (ADF)
Defines the length of time for a generator quantum, which determines how frequently the generator attempts to process work.
语法
<ApplicationExecutionSettings>
<QuantumDuration>
Element Characteristics
Characteristic | Description |
---|---|
Data type |
duration. |
Default value |
60 seconds. |
Occurrence |
Optional once per ApplicationExecutionSettings element. |
Updates |
Can be added, deleted, and modified when updating the application. |
Element Relationships
Relationship | Elements |
---|---|
Parent element |
|
Child elements |
None. |
备注
The application quantum duration controls how often the generator fires rules to generate notifications. Shorter quantum durations generate notifications more often, but require more resources. You need to balance the need for timely notifications with the processing load placed on the 数据库引擎 by running the rules 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 generator quantum duration of 15 minutes.
<QuantumDuration>P0DT00H15M00S</QuantumDuration>
请参阅
参考
QuantumDuration Element for Distributor (ADF)
Application Definition File Reference