Interface PingAware


public interface PingAware
Split brain protection functions that need access to ICMP ping failure detector should implement this interface; the instance of PingFailureDetector used by this member's ClusterHeartbeatManager will be provided on initialization.
  • Method Details

    • onPingLost

      void onPingLost(Member member)
      Notifies the SplitBrainProtectionFunction of ping loss.
      Parameters:
      member - member which was not pinged successfully
    • onPingRestored

      void onPingRestored(Member member)
      Notifies the SplitBrainProtectionFunction of a successful ping after one or more pings to that member were lost.
      Parameters:
      member - member which was pinged successfully