Compartir a través de


ConsulUtilsHostingExtensions.UseConsulClientClustering Método

Definición

Sobrecargas

UseConsulClientClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)

Configura el cliente para usar Consul para la agrupación en clústeres.

UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>)

Configura el cliente para usar Consul para la agrupación en clústeres.

UseConsulClientClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringOptions>>)

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

Configura el cliente para usar Consul para la agrupación en clústeres.

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

Parámetros

builder
IClientBuilder

Generador.

configureOptions
Action<OptionsBuilder<ConsulClusteringOptions>>

Delegado de configuración.

Devoluciones

IClientBuilder proporcionado.

Se aplica a

UseConsulClientClustering(IClientBuilder, Action<ConsulClusteringOptions>)

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

Configura el cliente para usar Consul para la agrupación en clústeres.

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

Parámetros

builder
IClientBuilder

Generador.

configureOptions
Action<ConsulClusteringOptions>

Delegado de configuración.

Devoluciones

IClientBuilder proporcionado.

Se aplica a