com.hazelcast.quorum

## Interface PingAware

-     public interface PingAware

  Quorum 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 Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onPingLost(Member member)` Notifies the `QuorumFunction` of ping loss.
    `void` | `onPingRestored(Member member)` Notifies the `QuorumFunction` of a successful ping after one or more pings to that member were lost.

- - ### Method Detail

    - #### onPingLost

          void onPingLost(Member member)

      Notifies the `QuorumFunction` of ping loss.
      Parameters:
        `member` - member which was not pinged successfully

    - #### onPingRestored

          void onPingRestored(Member member)

      Notifies the `QuorumFunction` of a successful ping after one or more pings to that member were lost.
      Parameters:
        `member` - member which was pinged successfully

Copyright © 2018. All rights reserved.