Class FailureDetectorPuppet
User controllable "puppet" failure detector.
Inherited Members
Namespace: Akka.Cluster.Tests.MultiNode
Assembly: Akka.Cluster.TestKit.dll
Syntax
public class FailureDetectorPuppet : FailureDetector
Constructors
| Edit this page View SourceFailureDetectorPuppet(Config, EventStream)
Declaration
public FailureDetectorPuppet(Config config, EventStream ev)
Parameters
Type | Name | Description |
---|---|---|
Config | config | |
EventStream | ev |
Properties
| Edit this page View SourceIsAvailable
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
| Edit this page View SourceIsMonitoring
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
Methods
| Edit this page View SourceHeartBeat()
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
| Edit this page View SourceMarkNodeAsAvailable()
Declaration
public void MarkNodeAsAvailable()
MarkNodeAsUnavailable()
Declaration
public void MarkNodeAsUnavailable()