Share via


EventThrottle Element (ADF)

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

Syntax

<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.

Remarks

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 Specifying Throttles for Events, Subscriptions, and Notifications.

Example

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>

See Also

Reference

Application Definition File Reference

Other Resources

Specifying Throttles for Events, Subscriptions, and Notifications
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance