trait FailureDetectorRegistry[A] extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- FailureDetectorRegistry
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def heartbeat(resource: A): Unit
Records a heartbeat for a resource.
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.
- abstract def isAvailable(resource: A): Boolean
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. For unregistered resources it returns true.
- abstract def isMonitoring(resource: A): Boolean
Returns true if the failure detector has received any heartbeats and started monitoring of the resource.
- abstract def remove(resource: A): Unit
Removes the heartbeat management for a resource.
- abstract def reset(): Unit
Removes all resources and any associated failure detector state.
Interface for a registry of Akka failure detectors. New resources are implicitly registered when heartbeat is first called with the resource given as parameter.
type parameter A: