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 Details

  • Method Details

    • isAvailable

      boolean isAvailable(List<AbstractHeartbeatSample> history)
      Given the heartbeat history, decide whether this endpoint is still available
      Parameters:
      history - heartbeat history
      Returns:
      false if the endpoint is under failure