Search Results for

    Show / Hide Table of Contents

    Class ConsistentHashableEnvelope

    This class represents a RouterEnvelope that can be wrapped around a message in order to make it hashable for use with ConsistentHashingGroup or ConsistentHashingPool routers.

    Inheritance
    object
    RouterEnvelope
    ConsistentHashableEnvelope
    Implements
    IConsistentHashable
    IWrappedMessage
    Inherited Members
    RouterEnvelope.Message
    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 ConsistentHashableEnvelope : RouterEnvelope, IConsistentHashable, IWrappedMessage

    Constructors

    | Edit this page View Source

    ConsistentHashableEnvelope(object, object)

    Initializes a new instance of the ConsistentHashableEnvelope class.

    Declaration
    public ConsistentHashableEnvelope(object message, object hashKey)
    Parameters
    Type Name Description
    object message

    The message that is being wrapped in the envelope.

    object hashKey

    The key used as the consistent hash key for the envelope.

    Properties

    | Edit this page View Source

    ConsistentHashKey

    The consistent hash key of the envelope.

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

    HashKey

    The key used as the consistent hash key.

    This is the same as the ConsistentHashKey
    Declaration
    public object HashKey { get; }
    Property Value
    Type Description
    object

    Implements

    IConsistentHashable
    IWrappedMessage

    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