Show / Hide Table of Contents

Interface IFailureDetector

Represents failure detector that can be used to determine availability of the particular resource in distributed environment such as a cluster to peer-to-peer network.

Inherited Members
IResettable.Reset()
Namespace: DotNext.Diagnostics
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IFailureDetector : IResettable

Properties

View Source

IsHealthy

Indicates that the resource associated with this detector is considered to be up and healthy.

Declaration
bool IsHealthy { get; }
Property Value
Type Description
bool
View Source

IsMonitoring

Indicates that this detector has received any heartbeats and started monitoring of the resource.

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

Methods

View Source

ReportHeartbeat()

Notifies that this detector received a heartbeat from the associated resource.

Declaration
void ReportHeartbeat()

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾