|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FailureDetector
Interface for Akka failure detectors.
Method Summary | |
---|---|
void |
heartbeat(Address connection)
Records a heartbeat for a connection. |
boolean |
isAvailable(Address connection)
Returns true if the connection is considered to be up and healthy and returns false otherwise. |
boolean |
isMonitoring(Address connection)
Returns true if the failure detector has received any heartbeats and started monitoring of the resource. |
void |
remove(Address connection)
Removes the heartbeat management for a connection. |
void |
reset()
Removes all connections and starts over. |
Method Detail |
---|
boolean isAvailable(Address connection)
boolean isMonitoring(Address connection)
void heartbeat(Address connection)
void remove(Address connection)
void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |