EventThrottle Element (ADF)

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

Sintaxis

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

Notas

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 Especificar aceleradores para eventos, suscripciones y notificaciones.

Ejemplo

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>

Vea también

Referencia

Application Definition File Reference

Otros recursos

Especificar aceleradores para eventos, suscripciones y notificaciones
Actualizar instancias y aplicaciones

Ayuda e información

Obtener ayuda sobre SQL Server 2005