Interface IFailureDetectorRegistry<T>
Interface for a registry of Akka FailureDetectors. New resources are implicitly registered when heartbeat is first called with the resource given as parameter.
Namespace: Akka.Remote
Assembly: Akka.Remote.dll
Syntax
public interface IFailureDetectorRegistry<in T>Type Parameters
| Name | Description | 
|---|---|
| T | TBD | 
Methods
| Edit this page View SourceHeartbeat(T)
Records a heartbeat for a resource. If the resource is not yet registered (i.e. this is the first heartbeat) then is it automatically registered.
Declaration
void Heartbeat(T resource)Parameters
| Type | Name | Description | 
|---|---|---|
| T | resource | TBD | 
IsAvailable(T)
Returns true if the resource is considered to be up and healthy, false otherwise. For unregistered resources it returns true.
Declaration
bool IsAvailable(T resource)Parameters
| Type | Name | Description | 
|---|---|---|
| T | resource | TBD | 
Returns
| Type | Description | 
|---|---|
| bool | TBD | 
IsMonitoring(T)
Returns true if the failure detector has received any heartbeats and started monitoring the resource.
Declaration
bool IsMonitoring(T resource)Parameters
| Type | Name | Description | 
|---|---|---|
| T | resource | TBD | 
Returns
| Type | Description | 
|---|---|
| bool | TBD | 
Remove(T)
Remove the heartbeat management for a resource
Declaration
void Remove(T resource)Parameters
| Type | Name | Description | 
|---|---|---|
| T | resource | TBD | 
Reset()
Removes all resources and any associated failure detector state.
Declaration
void Reset() Edit this page
Edit this page