Search Results for

    Show / Hide Table of Contents

    Interface IFailureDetectorRegistry<T>

    Interface for a registry of Akka FailureDetectors. New resources are implicitly registered when heartbeat is first called with the resource given as parameter.

    Namespace: Akka.Remote
    Assembly: Akka.Remote.dll
    Syntax
    public interface IFailureDetectorRegistry<in T>
    Type Parameters
    Name Description
    T

    TBD

    Methods

    | Edit this page View Source

    Heartbeat(T)

    Records a heartbeat for a resource. If the resource is not yet registered (i.e. this is the first heartbeat) then is it automatically registered.

    Declaration
    void Heartbeat(T resource)
    Parameters
    Type Name Description
    T resource

    TBD

    | Edit this page View Source

    IsAvailable(T)

    Returns true if the resource is considered to be up and healthy, false otherwise. For unregistered resources it returns true.

    Declaration
    bool IsAvailable(T resource)
    Parameters
    Type Name Description
    T resource

    TBD

    Returns
    Type Description
    bool

    TBD

    | Edit this page View Source

    IsMonitoring(T)

    Returns true if the failure detector has received any heartbeats and started monitoring the resource.

    Declaration
    bool IsMonitoring(T resource)
    Parameters
    Type Name Description
    T resource

    TBD

    Returns
    Type Description
    bool

    TBD

    | Edit this page View Source

    Remove(T)

    Remove the heartbeat management for a resource

    Declaration
    void Remove(T resource)
    Parameters
    Type Name Description
    T resource

    TBD

    | Edit this page View Source

    Reset()

    Removes all resources and any associated failure detector state.

    Declaration
    void Reset()

    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