Search Results for

    Show / Hide Table of Contents

    Class FailureDetector

    A failure detector must be a thread-safe, mutable construct that registers heartbeat events of a resource and is able to decide the availability of that monitored resource

    Inheritance
    object
    FailureDetector
    FailureDetectorPuppet
    DeadlineFailureDetector
    PhiAccrualFailureDetector
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Remote
    Assembly: Akka.Remote.dll
    Syntax
    public abstract class FailureDetector

    Fields

    | Edit this page View Source

    DefaultClock

    The default clock implementation used by the PhiAccrualFailureDetector

    Declaration
    public static readonly Clock DefaultClock
    Field Value
    Type Description
    Clock

    A clock instance.

    Properties

    | Edit this page View Source

    IsAvailable

    Returns true if the resource is considered to be up and healthy; false otherwise

    Declaration
    public abstract bool IsAvailable { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsMonitoring

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

    Declaration
    public abstract bool IsMonitoring { get; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    HeartBeat()

    Notifies the FailureDetector that a heartbeat arrived from the monitored resource. This causes the FailureDetector to update its state.

    Declaration
    public abstract void HeartBeat()

    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