Search Results for

    Show / Hide Table of Contents

    Class ConsistentHash.ConsistentHashingPoolSurrogate

    This class represents a surrogate of a ConsistentHashingPool router. Its main use is to help during the serialization process.

    Inheritance
    object
    ConsistentHash.ConsistentHashingPoolSurrogate
    Implements
    ISurrogate
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Routing
    Assembly: Akka.dll
    Syntax
    public class ConsistentHash.ConsistentHashingPoolSurrogate : ISurrogate

    Properties

    | Edit this page View Source

    NrOfInstances

    The number of routees associated with this pool.

    Declaration
    public int NrOfInstances { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Resizer

    The resizer to use when dynamically allocating routees to the pool.

    Declaration
    public Resizer Resizer { get; set; }
    Property Value
    Type Description
    Resizer
    | Edit this page View Source

    RouterDispatcher

    The dispatcher to use when passing messages to the routees.

    Declaration
    public string RouterDispatcher { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    SupervisorStrategy

    The strategy to use when supervising the pool.

    Declaration
    public SupervisorStrategy SupervisorStrategy { get; set; }
    Property Value
    Type Description
    SupervisorStrategy
    | Edit this page View Source

    UsePoolDispatcher

    Determine whether or not to use the pool dispatcher. The dispatcher is defined in the 'pool-dispatcher' configuration property in the deployment section of the router.

    Declaration
    public bool UsePoolDispatcher { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    FromSurrogate(ActorSystem)

    Creates a ConsistentHashingPool encapsulated by this surrogate.

    Declaration
    public ISurrogated FromSurrogate(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system

    The actor system that owns this router.

    Returns
    Type Description
    ISurrogated

    The ConsistentHashingPool encapsulated by this surrogate.

    Implements

    ISurrogate

    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