共用方式為


EventThrottle Element (ADF)

Specifies the number of events that can be processed from a single event class during a single generator quantum.

語法

<ApplicationExecutionSettings>
    ...
    <EventThrottle>

Element Characteristics

Characteristic Description

Data type

Non-negative integer.

Default value

1,000.

Occurrence

Optional once per ApplicationExecutionSettings element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

ApplicationExecutionSettings Element (ADF)

Child elements

None.

備註

Use the EventThrottle element to help guard against an unexpectedly large number of events entered into the application.

During each quantum, the generator gets the current set of events for each event class and counts the events. If the EventThrottle value is exceeded, the generator abandons the quantum.

If you set the EventThrottle value to 0, there is no limit to the number of events processed from an event class during a quantum.

For additional information, see 指定事件、訂閱與通知的流速.

範例

The following example shows a populated EventThrottle element. The value specifies that a maximum of 8000 events per event class can be processed per quantum.

<EventThrottle>8000</EventThrottle>

請參閱

參考

Application Definition File Reference

其他資源

指定事件、訂閱與通知的流速
更新執行個體及應用程式

說明及資訊

取得 SQL Server 2005 協助