Condividi tramite


SiloPersistentStreamConfiguratorExtensions.ConfigurePartitionBalancing Metodo

Definizione

Overload

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

Configura il bilanciamento delle partizioni.

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

Configura il bilanciamento delle partizioni.

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

Origine:
ISiloPersistentStreamConfigurator.cs

Configura il bilanciamento delle partizioni.

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

Parametri

configurator
ISiloPersistentStreamConfigurator

Generatore di configurazioni.

factory
Func<IServiceProvider,String,IStreamQueueBalancer>

Factory del servizio di bilanciamento della partizione.

Si applica a

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

Origine:
ISiloPersistentStreamConfigurator.cs

Configura il bilanciamento delle partizioni.

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

Parametri di tipo

TOptions

Opzioni del servizio di bilanciamento della partizione.

Parametri

configurator
ISiloPersistentStreamConfigurator

Generatore di configurazioni.

factory
Func<IServiceProvider,String,IStreamQueueBalancer>

Factory del servizio di bilanciamento della partizione.

configureOptions
Action<OptionsBuilder<TOptions>>

Delegato di configurazione.

Si applica a