ClusterConfiguration 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.
Caution
This type is obsolete and may be removed in a future release. Use configuration methods on ISiloHostBuilder to configure specific types.
Data object holding Silo configuration parameters.
[System.Serializable]
public class ClusterConfiguration
[System.Serializable]
[System.Obsolete("This type is obsolete and may be removed in a future release. Use configuration methods on ISiloHostBuilder to configure specific types.")]
public class ClusterConfiguration
[<System.Serializable>]
type ClusterConfiguration = class
[<System.Serializable>]
[<System.Obsolete("This type is obsolete and may be removed in a future release. Use configuration methods on ISiloHostBuilder to configure specific types.")>]
type ClusterConfiguration = class
Public Class ClusterConfiguration
- Inheritance
-
ClusterConfiguration
- Attributes
Constructors
ClusterConfiguration() |
ClusterConfiguration constructor. |
ClusterConfiguration(TextReader) |
ClusterConfiguration constructor. |
Properties
Defaults |
The default configuration parameters that apply to each and every silo. These can be over-written on a per silo basis. |
Globals |
The global configuration parameters that apply uniformly to all silos. |
Overrides |
Per silo configuration parameters overrides. |
PrimaryNode |
The Primary Node IP and port (in dev setting). |
SourceFile |
The configuration file. |
Methods
CreateNodeConfigurationForSilo(String) |
Creates a configuration node for a given silo. |
GetOrCreateNodeConfigurationForSilo(String) |
Creates a node config for the specified silo if one does not exist. Returns existing node if one already exists |
Load(TextReader) |
Loads configuration from a given input text reader. |
LoadFromFile(String) |
Loads the configuration from a file |
LocalhostPrimarySilo(Int32, Int32) |
Returns a prepopulated ClusterConfiguration object for a primary local silo (for testing) |
StandardLoad() |
Loads the configuration from the standard paths |
ToString(String) |
Prints the current config for a given silo. |
TryGetNodeConfigurationForSilo(String, NodeConfiguration) |
Obtains the configuration for a given silo. |
Update(String) |
Updates existing configuration. |