Edit

Share via


ConsulUtilsHostingExtensions.UseConsulClustering Method

Definition

Overloads

UseConsulClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringSiloOptions>>)

Configures the silo to use Consul for clustering.

UseConsulClustering(ISiloBuilder, Action<ConsulClusteringSiloOptions>)

Configures the silo to use Consul for clustering.

UseConsulClustering(ISiloHostBuilder, Action<OptionsBuilder<ConsulClusteringSiloOptions>>)

Configures the silo to use Consul for clustering.

UseConsulClustering(ISiloHostBuilder, Action<ConsulClusteringSiloOptions>)

Configures the silo to use Consul for clustering.

UseConsulClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringClientOptions>>)

Configures the client to use Consul for clustering.

UseConsulClustering(IClientBuilder, Action<ConsulClusteringClientOptions>)

Configures the client to use Consul for clustering.

UseConsulClustering(ISiloBuilder, Action<OptionsBuilder<ConsulClusteringSiloOptions>>)

Source:
ConsulUtilsHostingExtensions.cs

Configures the silo to use Consul for clustering.

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

Parameters

builder
ISiloBuilder

The builder.

configureOptions
Action<OptionsBuilder<ConsulClusteringSiloOptions>>

The configuration delegate.

Returns

The provided ISiloBuilder.

Applies to

UseConsulClustering(ISiloBuilder, Action<ConsulClusteringSiloOptions>)

Source:
ConsulUtilsHostingExtensions.cs

Configures the silo to use Consul for clustering.

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

Parameters

builder
ISiloBuilder

The builder.

configureOptions
Action<ConsulClusteringSiloOptions>

The configuration delegate.

Returns

The provided ISiloBuilder.

Applies to

UseConsulClustering(ISiloHostBuilder, Action<OptionsBuilder<ConsulClusteringSiloOptions>>)

Source:
ConsulUtilsHostingExtensions.cs

Configures the silo to use Consul for clustering.

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

Parameters

builder
ISiloHostBuilder

The builder.

configureOptions
Action<OptionsBuilder<ConsulClusteringSiloOptions>>

The configuration delegate.

Returns

The provided ISiloHostBuilder.

Applies to

UseConsulClustering(ISiloHostBuilder, Action<ConsulClusteringSiloOptions>)

Source:
ConsulUtilsHostingExtensions.cs

Configures the silo to use Consul for clustering.

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

Parameters

builder
ISiloHostBuilder

The builder.

configureOptions
Action<ConsulClusteringSiloOptions>

The configuration delegate.

Returns

The provided ISiloHostBuilder.

Applies to

UseConsulClustering(IClientBuilder, Action<OptionsBuilder<ConsulClusteringClientOptions>>)

Source:
ConsulUtilsHostingExtensions.cs

Configures the client to use Consul for clustering.

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

Parameters

builder
IClientBuilder

The builder.

configureOptions
Action<OptionsBuilder<ConsulClusteringClientOptions>>

The configuration delegate.

Returns

The provided IClientBuilder.

Applies to

UseConsulClustering(IClientBuilder, Action<ConsulClusteringClientOptions>)

Source:
ConsulUtilsHostingExtensions.cs

Configures the client to use Consul for clustering.

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

Parameters

builder
IClientBuilder

The builder.

configureOptions
Action<ConsulClusteringClientOptions>

The configuration delegate.

Returns

The provided IClientBuilder.

Applies to