Search Results for

    Show / Hide Table of Contents

    Class FailureDetectorPuppet

    User controllable "puppet" failure detector.

    Inheritance
    object
    FailureDetector
    FailureDetectorPuppet
    Inherited Members
    FailureDetector.DefaultClock
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Cluster.Tests.MultiNode
    Assembly: Akka.Cluster.TestKit.dll
    Syntax
    public class FailureDetectorPuppet : FailureDetector

    Constructors

    | Edit this page View Source

    FailureDetectorPuppet(Config, EventStream)

    Declaration
    public FailureDetectorPuppet(Config config, EventStream ev)
    Parameters
    Type Name Description
    Config config
    EventStream ev

    Properties

    | Edit this page View Source

    IsAvailable

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

    Declaration
    public override bool IsAvailable { get; }
    Property Value
    Type Description
    bool
    Overrides
    FailureDetector.IsAvailable
    | Edit this page View Source

    IsMonitoring

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

    Declaration
    public override bool IsMonitoring { get; }
    Property Value
    Type Description
    bool
    Overrides
    FailureDetector.IsMonitoring

    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 override void HeartBeat()
    Overrides
    FailureDetector.HeartBeat()
    | Edit this page View Source

    MarkNodeAsAvailable()

    Declaration
    public void MarkNodeAsAvailable()
    | Edit this page View Source

    MarkNodeAsUnavailable()

    Declaration
    public void MarkNodeAsUnavailable()

    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