ConsulUtilsHostingExtensions.UseConsulSiloClustering 方法

定义

重载

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

将 silo 配置为使用 Consul 进行群集。

UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>)

将 silo 配置为使用 Consul 进行群集。

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

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

将 silo 配置为使用 Consul 进行群集。

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

参数

builder
ISiloBuilder

生成器。

configureOptions
Action<OptionsBuilder<ConsulClusteringOptions>>

配置委托。

返回

提供的 ISiloBuilder

适用于

UseConsulSiloClustering(ISiloBuilder, Action<ConsulClusteringOptions>)

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

将 silo 配置为使用 Consul 进行群集。

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

参数

builder
ISiloBuilder

生成器。

configureOptions
Action<ConsulClusteringOptions>

配置委托。

返回

提供的 ISiloBuilder

适用于