Class ClusterRouterPoolSettings
TotalInstances of cluster router must be > 0 MaxInstancesPerNode of cluster router must be > 0 MaxInstancesPerNode of cluster router must be 1 when routeesPath is defined
Inherited Members
Namespace: Akka.Cluster.Routing
Assembly: Akka.Cluster.dll
Syntax
public sealed class ClusterRouterPoolSettings : ClusterRouterSettingsBase
Constructors
| Improve this Doc View SourceClusterRouterPoolSettings(Int32, Int32, Boolean, String)
Initializes a new instance of the ClusterRouterPoolSettings class.
Declaration
public ClusterRouterPoolSettings(int totalInstances, int maxInstancesPerNode, bool allowLocalRoutees, string useRole = null)
Parameters
Type | Name | Description |
---|---|---|
Int32 | totalInstances | TBD |
Int32 | maxInstancesPerNode | TBD |
Boolean | allowLocalRoutees | TBD |
String | useRole | TBD |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | This exception is thrown when the specified |
Properties
| Improve this Doc View SourceMaxInstancesPerNode
The maximum number of routee actors that can be deployed per valid node.
Declaration
public int MaxInstancesPerNode { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceFromConfig(Config)
Creates a new ClusterRouterPoolSettings from the specified configuration.
Declaration
public static ClusterRouterPoolSettings FromConfig(Config config)
Parameters
Type | Name | Description |
---|---|---|
Config | config | The configuration used to configure the settings. |
Returns
Type | Description |
---|---|
ClusterRouterPoolSettings | New settings based on the specified |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |