public interface FailureDetector
Modifier and Type | Method and Description |
---|---|
void |
heartbeat(long timestamp)
Notifies this failure detector about received heartbeat message from the tracked member.
|
boolean |
isAlive(long timestamp)
Returns true if the tracked member is considered as alive/available.
|
long |
lastHeartbeat()
Returns the last heartbeat timestamp for the tracked member.
|
double |
suspicionLevel(long timestamp)
Returns suspicion level about the tracked member.
|
void heartbeat(long timestamp)
timestamp
- timestamp of heartbeat message in millisecondsboolean isAlive(long timestamp)
timestamp
- timestamp in millisecondslong lastHeartbeat()
double suspicionLevel(long timestamp)
0
indicates no suspicion at all.timestamp
- timestamp in millisecondsCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.