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
FailureDetector
Inherited Members
Namespace: Akka.Remote
Assembly: Akka.Remote.dll
Syntax
public abstract class FailureDetector
Fields
| Improve this Doc View SourceDefaultClock
The default clock implementation used by the PhiAccrualFailureDetector
Declaration
public static readonly Clock DefaultClock
Field Value
Type | Description |
---|---|
Clock | A clock instance. |
Properties
| Improve this Doc View SourceIsAvailable
Returns true if the resource is considered to be up and healthy; false otherwise
Declaration
public abstract bool IsAvailable { get; }
Property Value
Type | Description |
---|---|
Boolean |
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 |
---|---|
Boolean |
Methods
| Improve this Doc View SourceHeartBeat()
Notifies the FailureDetector that a heartbeat arrived from the monitored resource. This causes the FailureDetector to update its state.
Declaration
public abstract void HeartBeat()