Bewerken

Delen via


ConsulUtilsHostingExtensions.UseConsulSiloClustering Method

Definition

Overloads

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

Configures the silo to use Consul for clustering.

UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>)

Configures the silo to use Consul for clustering.

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

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

Configures the silo to use Consul for 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

Parameters

builder
ISiloBuilder

The builder.

configureOptions
Action<OptionsBuilder<ConsulClusteringOptions>>

The configuration delegate.

Returns

The provided ISiloBuilder.

Applies to

UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>)

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

Configures the silo to use Consul for 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

Parameters

builder
ISiloBuilder

The builder.

configureOptions
Action<ConsulClusteringOptions>

The configuration delegate.

Returns

The provided ISiloBuilder.

Applies to