Partager via


SiloPersistentStreamConfiguratorExtension.UseLeaseBasedQueueBalancer Méthode

Définition

Configure le fournisseur de flux pour utiliser l’équilibreur de file d’attente basé sur le bail.

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)

Paramètres

configurator
ISiloPersistentStreamConfigurator

Générateur de configuration.

configureOptions
Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>

Options de configuration.

S’applique à