Partager via


SiloPersistentStreamConfiguratorExtensions.ConfigurePartitionBalancing Méthode

Définition

Surcharges

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

Configure l’équilibrage des partitions.

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

Configure l’équilibrage des partitions.

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

Source:
ISiloPersistentStreamConfigurator.cs

Configure l’équilibrage des partitions.

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

Paramètres

configurator
ISiloPersistentStreamConfigurator

Générateur de configuration.

factory
Func<IServiceProvider,String,IStreamQueueBalancer>

Fabrique de l’équilibreur de partition.

S’applique à

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

Source:
ISiloPersistentStreamConfigurator.cs

Configure l’équilibrage des partitions.

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

Paramètres de type

TOptions

Options de l’équilibreur de partition.

Paramètres

configurator
ISiloPersistentStreamConfigurator

Générateur de configuration.

factory
Func<IServiceProvider,String,IStreamQueueBalancer>

Fabrique de l’équilibreur de partition.

configureOptions
Action<OptionsBuilder<TOptions>>

Délégué de configuration.

S’applique à