Search Results for

    Show / Hide Table of Contents

    Class GetEntityLocation

    Send this message to a ShardRegion actor to determine the location and liveness of a specific entity actor in the region.

    Creates a EntityLocation message in response.

    Inheritance
    object
    GetEntityLocation
    Implements
    IShardRegionQuery
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Cluster.Sharding
    Assembly: Akka.Cluster.Sharding.dll
    Syntax
    public sealed class GetEntityLocation : IShardRegionQuery
    Remarks

    This is used primarily for testing and telemetry purposes.

    In order for this query to work, the Akka.Cluster.Sharding.MessageExtractor must support ShardRegion.StartEntity, which is also used when remember-entities=on.

    Constructors

    | Edit this page View Source

    GetEntityLocation(string, TimeSpan)

    Declaration
    public GetEntityLocation(string entityId, TimeSpan timeout)
    Parameters
    Type Name Description
    string entityId
    TimeSpan timeout

    Properties

    | Edit this page View Source

    EntityId

    The id of the entity we're searching for.

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

    Timeout

    Used to timeout the Ask{T} operation used to identify whether or not this entity actor currently exists.

    Declaration
    public TimeSpan Timeout { get; }
    Property Value
    Type Description
    TimeSpan

    Implements

    IShardRegionQuery

    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