共用方式為


SiloPersistentStreamConfiguratorExtensions.ConfigurePartitionBalancing 方法

定義

多載

ConfigurePartitionBalancing(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>)

設定資料分割平衡。

ConfigurePartitionBalancing<TOptions>(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>, Action<OptionsBuilder<TOptions>>)

設定資料分割平衡。

ConfigurePartitionBalancing(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>)

來源:
ISiloPersistentStreamConfigurator.cs

設定資料分割平衡。

public static void ConfigurePartitionBalancing (this Orleans.Hosting.ISiloPersistentStreamConfigurator configurator, Func<IServiceProvider,string,Orleans.Streams.IStreamQueueBalancer> factory);
static member ConfigurePartitionBalancing : Orleans.Hosting.ISiloPersistentStreamConfigurator * Func<IServiceProvider, string, Orleans.Streams.IStreamQueueBalancer> -> unit
<Extension()>
Public Sub ConfigurePartitionBalancing (configurator As ISiloPersistentStreamConfigurator, factory As Func(Of IServiceProvider, String, IStreamQueueBalancer))

參數

configurator
ISiloPersistentStreamConfigurator

組態產生器。

factory
Func<IServiceProvider,String,IStreamQueueBalancer>

分割區平衡器處理站。

適用於

ConfigurePartitionBalancing<TOptions>(ISiloPersistentStreamConfigurator, Func<IServiceProvider,String,IStreamQueueBalancer>, Action<OptionsBuilder<TOptions>>)

來源:
ISiloPersistentStreamConfigurator.cs

設定資料分割平衡。

public static void ConfigurePartitionBalancing<TOptions> (this Orleans.Hosting.ISiloPersistentStreamConfigurator configurator, Func<IServiceProvider,string,Orleans.Streams.IStreamQueueBalancer> factory, Action<Microsoft.Extensions.Options.OptionsBuilder<TOptions>> configureOptions) where TOptions : class, new();
static member ConfigurePartitionBalancing : Orleans.Hosting.ISiloPersistentStreamConfigurator * Func<IServiceProvider, string, Orleans.Streams.IStreamQueueBalancer> * Action<Microsoft.Extensions.Options.OptionsBuilder<'Options>> -> unit (requires 'Options : null and 'Options : (new : unit -> 'Options))
<Extension()>
Public Sub ConfigurePartitionBalancing(Of TOptions As {Class, New}) (configurator As ISiloPersistentStreamConfigurator, factory As Func(Of IServiceProvider, String, IStreamQueueBalancer), configureOptions As Action(Of OptionsBuilder(Of TOptions)))

類型參數

TOptions

資料分割平衡器選項。

參數

configurator
ISiloPersistentStreamConfigurator

組態產生器。

factory
Func<IServiceProvider,String,IStreamQueueBalancer>

分割區平衡器處理站。

configureOptions
Action<OptionsBuilder<TOptions>>

組態委派。

適用於