ZooKeeperHostingExtensions.UseZooKeeperClustering Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UseZooKeeperClustering(IClientBuilder, Action<OptionsBuilder<ZooKeeperGatewayListProviderOptions>>)
Configure the client to use ZooKeeper for clustering.
public static Orleans.Hosting.IClientBuilder UseZooKeeperClustering (this Orleans.Hosting.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ZooKeeperGatewayListProviderOptions>> configureOptions);
static member UseZooKeeperClustering : Orleans.Hosting.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ZooKeeperGatewayListProviderOptions>> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseZooKeeperClustering (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of ZooKeeperGatewayListProviderOptions))) As IClientBuilder
Parameters
- builder
- IClientBuilder
The builder.
- configureOptions
- Action<OptionsBuilder<ZooKeeperGatewayListProviderOptions>>
The configuration delegate.
Returns
The provided IClientBuilder.
Applies to
UseZooKeeperClustering(IClientBuilder, Action<ZooKeeperGatewayListProviderOptions>)
Configure the client to use ZooKeeper for clustering.
public static Orleans.Hosting.IClientBuilder UseZooKeeperClustering (this Orleans.Hosting.IClientBuilder builder, Action<Orleans.Configuration.ZooKeeperGatewayListProviderOptions> configureOptions);
static member UseZooKeeperClustering : Orleans.Hosting.IClientBuilder * Action<Orleans.Configuration.ZooKeeperGatewayListProviderOptions> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseZooKeeperClustering (builder As IClientBuilder, configureOptions As Action(Of ZooKeeperGatewayListProviderOptions)) As IClientBuilder
Parameters
- builder
- IClientBuilder
The builder.
- configureOptions
- Action<ZooKeeperGatewayListProviderOptions>
The configuration delegate.
Returns
The provided IClientBuilder.
Applies to
UseZooKeeperClustering(ISiloBuilder, Action<OptionsBuilder<ZooKeeperClusteringSiloOptions>>)
Configures the silo to use ZooKeeper for cluster membership.
public static Orleans.Hosting.ISiloBuilder UseZooKeeperClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ZooKeeperClusteringSiloOptions>> configureOptions);
static member UseZooKeeperClustering : Orleans.Hosting.ISiloBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ZooKeeperClusteringSiloOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseZooKeeperClustering (builder As ISiloBuilder, configureOptions As Action(Of OptionsBuilder(Of ZooKeeperClusteringSiloOptions))) As ISiloBuilder
Parameters
- builder
- ISiloBuilder
The builder.
- configureOptions
- Action<OptionsBuilder<ZooKeeperClusteringSiloOptions>>
The configuration delegate.
Returns
The provided ISiloBuilder.
Applies to
UseZooKeeperClustering(ISiloBuilder, Action<ZooKeeperClusteringSiloOptions>)
Configures the silo to use ZooKeeper for cluster membership.
public static Orleans.Hosting.ISiloBuilder UseZooKeeperClustering (this Orleans.Hosting.ISiloBuilder builder, Action<Orleans.Configuration.ZooKeeperClusteringSiloOptions> configureOptions);
static member UseZooKeeperClustering : Orleans.Hosting.ISiloBuilder * Action<Orleans.Configuration.ZooKeeperClusteringSiloOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseZooKeeperClustering (builder As ISiloBuilder, configureOptions As Action(Of ZooKeeperClusteringSiloOptions)) As ISiloBuilder
Parameters
- builder
- ISiloBuilder
The builder.
- configureOptions
- Action<ZooKeeperClusteringSiloOptions>
The configuration delegate.
Returns
The provided ISiloBuilder.
Applies to
UseZooKeeperClustering(ISiloHostBuilder, Action<OptionsBuilder<ZooKeeperClusteringSiloOptions>>)
Configures the silo to use ZooKeeper for cluster membership.
public static Orleans.Hosting.ISiloHostBuilder UseZooKeeperClustering (this Orleans.Hosting.ISiloHostBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ZooKeeperClusteringSiloOptions>> configureOptions);
static member UseZooKeeperClustering : Orleans.Hosting.ISiloHostBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ZooKeeperClusteringSiloOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseZooKeeperClustering (builder As ISiloHostBuilder, configureOptions As Action(Of OptionsBuilder(Of ZooKeeperClusteringSiloOptions))) As ISiloHostBuilder
Parameters
- builder
- ISiloHostBuilder
The builder.
- configureOptions
- Action<OptionsBuilder<ZooKeeperClusteringSiloOptions>>
The configuration delegate.
Returns
The provided ISiloHostBuilder.
Applies to
UseZooKeeperClustering(ISiloHostBuilder, Action<ZooKeeperClusteringSiloOptions>)
Configures the silo to use ZooKeeper for cluster membership.
public static Orleans.Hosting.ISiloHostBuilder UseZooKeeperClustering (this Orleans.Hosting.ISiloHostBuilder builder, Action<Orleans.Configuration.ZooKeeperClusteringSiloOptions> configureOptions);
static member UseZooKeeperClustering : Orleans.Hosting.ISiloHostBuilder * Action<Orleans.Configuration.ZooKeeperClusteringSiloOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseZooKeeperClustering (builder As ISiloHostBuilder, configureOptions As Action(Of ZooKeeperClusteringSiloOptions)) As ISiloHostBuilder
Parameters
- builder
- ISiloHostBuilder
The builder.
- configureOptions
- Action<ZooKeeperClusteringSiloOptions>
The configuration delegate.
Returns
The provided ISiloHostBuilder.
Applies to
UseZooKeeperClustering(IClientBuilder, Action<OptionsBuilder<ZooKeeperGatewayListProviderOptions>>)
Configure the client to use ZooKeeper for clustering.
public static Orleans.IClientBuilder UseZooKeeperClustering (this Orleans.IClientBuilder builder, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ZooKeeperGatewayListProviderOptions>> configureOptions);
static member UseZooKeeperClustering : Orleans.IClientBuilder * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.ZooKeeperGatewayListProviderOptions>> -> Orleans.IClientBuilder
<Extension()>
Public Function UseZooKeeperClustering (builder As IClientBuilder, configureOptions As Action(Of OptionsBuilder(Of ZooKeeperGatewayListProviderOptions))) As IClientBuilder
Parameters
- builder
- IClientBuilder
The builder.
- configureOptions
- Action<OptionsBuilder<ZooKeeperGatewayListProviderOptions>>
The configuration delegate.
Returns
The provided IClientBuilder.
Applies to
UseZooKeeperClustering(IClientBuilder, Action<ZooKeeperGatewayListProviderOptions>)
Configure the client to use ZooKeeper for clustering.
public static Orleans.IClientBuilder UseZooKeeperClustering (this Orleans.IClientBuilder builder, Action<Orleans.Configuration.ZooKeeperGatewayListProviderOptions> configureOptions);
static member UseZooKeeperClustering : Orleans.IClientBuilder * Action<Orleans.Configuration.ZooKeeperGatewayListProviderOptions> -> Orleans.IClientBuilder
<Extension()>
Public Function UseZooKeeperClustering (builder As IClientBuilder, configureOptions As Action(Of ZooKeeperGatewayListProviderOptions)) As IClientBuilder
Parameters
- builder
- IClientBuilder
The builder.
- configureOptions
- Action<ZooKeeperGatewayListProviderOptions>
The configuration delegate.
Returns
The provided IClientBuilder.