SiloPersistentStreamConfiguratorExtension.UseLeaseBasedQueueBalancer 方法

定义

将流提供程序配置为使用基于租用的队列均衡器。

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)

参数

configurator
ISiloPersistentStreamConfigurator

配置生成器。

configureOptions
Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>

配置选项。

适用于