Edit

Share via


TestClusterOptions.BuildClusterConfiguration Method

Definition

Build a cluster configuration.

public static Orleans.Runtime.Configuration.ClusterConfiguration BuildClusterConfiguration (int baseSiloPort, int baseGatewayPort, int silosCount, Orleans.TestingHost.TestClusterOptions.FallbackOptions extendedOptions);
static member BuildClusterConfiguration : int * int * int * Orleans.TestingHost.TestClusterOptions.FallbackOptions -> Orleans.Runtime.Configuration.ClusterConfiguration
Public Shared Function BuildClusterConfiguration (baseSiloPort As Integer, baseGatewayPort As Integer, silosCount As Integer, extendedOptions As TestClusterOptions.FallbackOptions) As ClusterConfiguration

Parameters

baseSiloPort
Int32

Base port number to use for silos

baseGatewayPort
Int32

Base port number to use for silo's gateways

silosCount
Int32

The number of initial silos to deploy.

extendedOptions
TestClusterOptions.FallbackOptions

The extended fallback options.

Returns

The builded cluster configuration

Applies to