共用方式為


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>>

設定選項。

適用於