Interface IFailureDetector
- All Known Implementing Classes:
FixedDetector,PhiAccrualDetector
public interface IFailureDetector
IFailureDetector is the judge for node status (UNKNOWN).
will be called each
fixed interval updating the node status-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAvailable(List<AbstractHeartbeatSample> history) Given the heartbeat history, decide whether this endpoint is still available
-
Field Details
-
FIXED_DETECTOR
- See Also:
-
PHI_ACCRUAL_DETECTOR
- See Also:
-
-
Method Details
-
isAvailable
Given the heartbeat history, decide whether this endpoint is still available- Parameters:
history- heartbeat history- Returns:
- false if the endpoint is under failure
-