TestClusterOptions Class
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.
Configuration options for test clusters.
[System.Serializable]
public class TestClusterOptions
public class TestClusterOptions
[<System.Serializable>]
type TestClusterOptions = class
type TestClusterOptions = class
Public Class TestClusterOptions
- Inheritance
-
TestClusterOptions
- Attributes
Constructors
TestClusterOptions() |
Initializes a new instance of TestClusterOptions using the default ExtendedFallbackOptions specified by DefaultExtendedConfiguration. |
TestClusterOptions(IConfiguration) |
Initializes a new instance of TestClusterOptions using the specified configuration. |
TestClusterOptions(Int16) |
Initializes a new instance of TestClusterOptions overriding the initial silos count and using the default ExtendedFallbackOptions specified by DefaultExtendedConfiguration. |
TestClusterOptions(TestClusterOptions+FallbackOptions) |
Initializes a new instance of TestClusterOptions. |
Properties
ApplicationBaseDirectory |
Gets or sets the application base directory. |
AssumeHomogenousSilosForTesting |
Gets or sets a value indicating whether to assume homogeneous silos for testing purposes. |
BaseGatewayPort |
Gets or sets the base gateway port, which is the gateway port for the first silo. Other silos will use subsequent ports. |
BaseSiloPort |
Gets or sets the base silo port, which is the port for the first silo. Other silos will use subsequent ports. |
ClientBuilderConfiguratorTypes |
Gets the client builder configurator types. |
ClientConfiguration |
Gets or sets the client configuration. If no value is specified when getting the configuration, a new one will be built with BuildClientConfiguration(ClusterConfiguration) |
ClusterConfiguration |
Gets or sets the cluster configuration. If no value is specified when getting the configuration, a new one will be built with Orleans.TestingHost.TestClusterOptions.BuildClusterConfiguration |
ClusterId |
Gets or sets the cluster identifier. |
ConfigureFileLogging |
Gets or sets a value indicating whether to configure file logging. |
ConnectionTransport |
Gets or sets a value indicating what transport to use for connecting silos and clients. |
ExtendedFallbackOptions |
Gets or sets fallback options in the case that some configuration settings are not explicitly provided by the user, such as the DataConnectionString |
GatewayPerSilo |
Gets or sets a value indicating whether each silo should host a gateway. |
InitializeClientOnDeploy |
Gets or sets a value indicating whether to initialize the client immediately on deployment. |
InitialSilosCount |
Gets or sets the initial silos count. |
ServiceId |
Gets or sets the service identifier. |
SiloBuilderConfiguratorTypes |
Gets the silo builder configurator types. |
UseTestClusterMembership |
Gets or sets a value indicating whether to use test cluster membership. |
Methods
AddNodeConfiguration(ClusterConfiguration, Silo+SiloType, Int16, Int32, Int32) |
Adds a silo config to the target cluster config. |
BuildClientConfiguration(ClusterConfiguration) |
Build the client configuration based on the cluster configuration. If a debugger is attached, the response timeout will be overridden to 1000000ms |
BuildClusterConfiguration(Int32, Int32, Int32, TestClusterOptions+FallbackOptions) |
Build a cluster configuration. |
ToDictionary() |
Converts these options into a dictionary. |