Compartilhar via


SiloPersistentStreamConfiguratorExtension.UseLeaseBasedQueueBalancer Método

Definição

Configura o provedor de fluxo para usar o balanceador de fila baseado em concessão.

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

O construtor de configuração.

configureOptions
Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>

As opções de configuração.

Aplica-se a