Condividi tramite


SiloPersistentStreamConfiguratorExtension.UseLeaseBasedQueueBalancer Metodo

Definizione

Configura il provider di flusso per l'uso del servizio di bilanciamento della coda basato su lease.

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)

Parametri

configurator
ISiloPersistentStreamConfigurator

Generatore di configurazioni.

configureOptions
Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>

Opzioni di configurazione.

Si applica a