Share via


EventThrottle Element (ADF)

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

Sintassi

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

Osservazioni

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 Specificazione di velocità per eventi, sottoscrizioni e notifiche.

Esempio

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>

Vedere anche

Riferimento

Application Definition File Reference

Altre risorse

Specificazione di velocità per eventi, sottoscrizioni e notifiche
Aggiornamento di istanze e applicazioni

Guida in linea e informazioni

Assistenza su SQL Server 2005