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
| Edit this page View SourceClusterRouterPoolSettings(int, int, bool, 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 |
---|---|---|
int | totalInstances | TBD |
int | maxInstancesPerNode | TBD |
bool | allowLocalRoutees | TBD |
string | useRole | TBD |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | This exception is thrown when the specified |
Properties
| Edit this page View SourceMaxInstancesPerNode
The maximum number of routee actors that can be deployed per valid node.
Declaration
public int MaxInstancesPerNode { get; }
Property Value
Type | Description |
---|---|
int |
Methods
| Edit this page View SourceEquals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page 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 |
---|---|
int |