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
Namespace: DotNext.Diagnostics
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IFailureDetector : IResettable
Properties
| Edit this page View SourceIsHealthy
Indicates that the resource associated with this detector is considered to be up and healthy.
Declaration
bool IsHealthy { get; }
Property Value
Type | Description |
---|---|
bool |
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
| Edit this page View SourceReportHeartbeat()
Notifies that this detector received a heartbeat from the associated resource.
Declaration
void ReportHeartbeat()