Partager via


ConsulUtilsHostingExtensions.UseConsulSiloClustering Méthode

Définition

Surcharges

UseConsulSiloClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)

Configure le silo pour utiliser Consul pour le clustering.

UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>)

Configure le silo pour utiliser Consul pour le clustering.

UseConsulSiloClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)

Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs

Configure le silo pour utiliser Consul pour le clustering.

public static Orleans.Hosting.ISiloBuilder UseConsulSiloClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringOptions>> configureOptions);
static member UseConsulSiloClustering : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ConsulClusteringOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseConsulSiloClustering (builder As ISiloBuilder, configureOptions As Action(Of OptionsBuilder(Of ConsulClusteringOptions))) As ISiloBuilder

Paramètres

builder
ISiloBuilder

Générateur.

configureOptions
Action<OptionsBuilder<ConsulClusteringOptions>>

Délégué de configuration.

Retours

Le ISiloBuilder fourni.

S’applique à

UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>)

Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs
Source:
ConsulUtilsHostingExtensions.cs

Configure le silo pour utiliser Consul pour le clustering.

public static Orleans.Hosting.ISiloBuilder UseConsulSiloClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Orleans.Configuration.ConsulClusteringOptions> configureOptions);
static member UseConsulSiloClustering : Orleans.Hosting.ISiloBuilder * Action<Orleans.Configuration.ConsulClusteringOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseConsulSiloClustering (builder As ISiloBuilder, configureOptions As Action(Of ConsulClusteringOptions)) As ISiloBuilder

Paramètres

builder
ISiloBuilder

Générateur.

configureOptions
Action<ConsulClusteringOptions>

Délégué de configuration.

Retours

Le ISiloBuilder fourni.

S’applique à