org.apache.pekko.remote.FailureDetectorRegistry
Interface for a registry of Pekko failure detectors. New resources are implicitly registered when heartbeat is first called with the resource given as parameter.
type parameter A:
The type of the key that identifies a resource to be monitored by a failure detector
Attributes
Source
FailureDetectorRegistry.scala
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Members list
Records a heartbeat for a resource. If the resource is not yet registered (i.e. this is the first heartbeat) then it is automatically registered.
Records a heartbeat for a resource. If the resource is not yet registered (i.e. this is the first heartbeat) then it is automatically registered.
Attributes
Source
FailureDetectorRegistry.scala
Returns true if the resource is considered to be up and healthy and returns false otherwise. For unregistered resources it returns true.
Returns true if the resource is considered to be up and healthy and returns false otherwise. For unregistered resources it returns true.
Attributes
Source
FailureDetectorRegistry.scala
Returns true if the failure detector has received any heartbeats and started monitoring of the resource.
Returns true if the failure detector has received any heartbeats and started monitoring of the resource.
Attributes
Source
FailureDetectorRegistry.scala
Removes the heartbeat management for a resource.
Removes all resources and any associated failure detector state.