Redigera

Dela via


SiloPersistentStreamConfiguratorExtension.UseLeaseBasedQueueBalancer Method

Definition

Configures the stream provider to use the lease based queue balancer.

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)

Parameters

configurator
ISiloPersistentStreamConfigurator

The configuration builder.

configureOptions
Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>

The configure options.

Applies to