|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FailureDetectorRegistry<A>
Interface for a registry of Akka failure detectors. New resources are implicitly registered when heartbeat is first called with the resource given as parameter.
Method Summary | |
---|---|
void |
heartbeat(A resource)
Records a heartbeat for a resource. |
boolean |
isAvailable(A resource)
Returns true if the resource is considered to be up and healthy and returns false otherwise. |
boolean |
isMonitoring(A resource)
Returns true if the failure detector has received any heartbeats and started monitoring of the resource. |
void |
remove(A resource)
Removes the heartbeat management for a resource. |
void |
reset()
Removes all resources and any associated failure detector state. |
Method Detail |
---|
boolean isAvailable(A resource)
resource
- (undocumented)
boolean isMonitoring(A resource)
resource
- (undocumented)
void heartbeat(A resource)
resource
- (undocumented)void remove(A resource)
resource
- (undocumented)void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |