EventThrottle Element (ADF)

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

Syntaxe

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

Notes

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 Spécification d'accélérateurs pour les événements, les abonnements et les notifications.

Exemple

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>

Voir aussi

Référence

Application Definition File Reference

Autres ressources

Spécification d'accélérateurs pour les événements, les abonnements et les notifications
Mise à jour des instances et des applications

Aide et Informations

Assistance sur SQL Server 2005