Search Results for

    Show / Hide Table of Contents

    Class Discovery

    Inheritance
    object
    Discovery
    Implements
    IExtension
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Discovery
    Assembly: Akka.Discovery.dll
    Syntax
    public class Discovery : IExtension

    Constructors

    | Edit this page View Source

    Discovery(ExtendedActorSystem)

    Declaration
    public Discovery(ExtendedActorSystem system)
    Parameters
    Type Name Description
    ExtendedActorSystem system

    Properties

    | Edit this page View Source

    Default

    Default ServiceDiscovery as configured in akka.discovery.method.

    Declaration
    public ServiceDiscovery Default { get; }
    Property Value
    Type Description
    ServiceDiscovery

    Methods

    | Edit this page View Source

    Get(ActorSystem)

    Declaration
    public static Discovery Get(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system
    Returns
    Type Description
    Discovery
    | Edit this page View Source

    LoadServiceDiscovery(string)

    Create a ServiceDiscovery from configuration property.

    Declaration
    public ServiceDiscovery LoadServiceDiscovery(string method)
    Parameters
    Type Name Description
    string method

    Used to find configuration property "akka.discovery.[method].class".

    Returns
    Type Description
    ServiceDiscovery

    The ServiceDiscovery instance for a given method will be created once, and subsequent requests for the same method will return the same instance.

    Implements

    IExtension

    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