FailureDetector

org.apache.pekko.remote.FailureDetector
See theFailureDetector companion object

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.

Attributes

Companion
object
Source
FailureDetector.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def heartbeat(): Unit

Notifies the FailureDetector that a heartbeat arrived from the monitored resource. This causes the FailureDetector to update its state.

Notifies the FailureDetector that a heartbeat arrived from the monitored resource. This causes the FailureDetector to update its state.

Attributes

Source
FailureDetector.scala

Returns true if the resource is considered to be up and healthy and returns false otherwise.

Returns true if the resource is considered to be up and healthy and returns false otherwise.

Attributes

Source
FailureDetector.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
FailureDetector.scala