Compartir a través de


SiloPersistentStreamConfiguratorExtension.UseLeaseBasedQueueBalancer Método

Definición

Configura el proveedor de flujos para usar el equilibrador de cola basado en concesión.

public static void UseLeaseBasedQueueBalancer (this Orleans.Hosting.ISiloPersistentStreamConfigurator configurator, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.LeaseBasedQueueBalancerOptions>> configureOptions = default);
static member UseLeaseBasedQueueBalancer : Orleans.Hosting.ISiloPersistentStreamConfigurator * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.LeaseBasedQueueBalancerOptions>> -> unit
<Extension()>
Public Sub UseLeaseBasedQueueBalancer (configurator As ISiloPersistentStreamConfigurator, Optional configureOptions As Action(Of OptionsBuilder(Of LeaseBasedQueueBalancerOptions)) = Nothing)

Parámetros

configurator
ISiloPersistentStreamConfigurator

El generador de configuración.

configureOptions
Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>

Las opciones de configuración.

Se aplica a