Search Results for

    Show / Hide Table of Contents

    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

    Inheritance
    object
    ClusterRouterSettingsBase
    ClusterRouterPoolSettings
    Inherited Members
    ClusterRouterSettingsBase.TotalInstances
    ClusterRouterSettingsBase.AllowLocalRoutees
    ClusterRouterSettingsBase.UseRole
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Cluster.Routing
    Assembly: Akka.Cluster.dll
    Syntax
    public sealed class ClusterRouterPoolSettings : ClusterRouterSettingsBase

    Constructors

    | Edit this page View Source

    ClusterRouterPoolSettings(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 maxInstancesPerNode is less than or equal to zero.

    Properties

    | Edit this page View Source

    MaxInstancesPerNode

    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 Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    FromConfig(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 config

    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET