Class ClusterRouterGroupSettings
TotalInstances of cluster router must be > 0
Inherited Members
Namespace: Akka.Cluster.Routing
Assembly: Akka.Cluster.dll
Syntax
public sealed class ClusterRouterGroupSettings : ClusterRouterSettingsBase
Constructors
| Improve this Doc View SourceClusterRouterGroupSettings(Int32, IEnumerable<String>, Boolean, String)
Initializes a new instance of the ClusterRouterGroupSettings class.
Declaration
public ClusterRouterGroupSettings(int totalInstances, IEnumerable<string> routeesPaths, bool allowLocalRoutees, string useRole = null)
Parameters
Type | Name | Description |
---|---|---|
Int32 | totalInstances | The total number of routees. Defaults to 10000. |
IEnumerable<String> | routeesPaths | The actor selection paths to use for each routee. |
Boolean | allowLocalRoutees | When |
String | useRole | The role of the node upon which we are able to create routees. |
Exceptions
Type | Condition |
---|---|
ArgumentException | This exception is thrown when either the specified |
Properties
| Improve this Doc View SourceRouteesPaths
The paths of the routees to use on each qualified node.
Declaration
public IEnumerable<string> RouteesPaths { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Methods
| Improve this Doc View SourceFromConfig(Config)
Creates a new ClusterRouterGroupSettings from the specified configuration.
Declaration
public static ClusterRouterGroupSettings FromConfig(Config config)
Parameters
Type | Name | Description |
---|---|---|
Config | config | The configuration used to configure the settings. |
Returns
Type | Description |
---|---|
ClusterRouterGroupSettings | New settings based on the specified |