Search Results for

    Show / Hide Table of Contents

    Class AdjustPoolSize

    This class represents a RouterManagementMessage sent to a Pool router instructing it to increase or decrease the number of allotted routees the router can use. It may be handled after other messages.

    Positive Change will add that number of routees to the Pool. Negative Change will remove that number of routees from the Pool. Routees are stopped by sending a PoisonPill to the routee. Precautions are taken to reduce the risk of dropping messages that are concurrently being routed to the remove routee, but there are no guarantees.
    Inheritance
    object
    RouterManagementMessage
    AdjustPoolSize
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Routing
    Assembly: Akka.dll
    Syntax
    public sealed class AdjustPoolSize : RouterManagementMessage

    Constructors

    | Edit this page View Source

    AdjustPoolSize(int)

    Initializes a new instance of the AdjustPoolSize class.

    Declaration
    public AdjustPoolSize(int change)
    Parameters
    Type Name Description
    int change

    The number of routees to add or subtract from the Pool.

    Properties

    | Edit this page View Source

    Change

    The number of routees added or subtracted from the Pool.

    Declaration
    public int Change { get; }
    Property Value
    Type Description
    int

    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