com.hazelcast.quorum

## Interface HeartbeatAware

-     public interface HeartbeatAware

  `QuorumFunction`s which implement this interface will be notified of member heartbeats.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onHeartbeat(Member member, long timestamp)` Notifies of a received heartbeat.

- - ### Method Detail

    - #### onHeartbeat

          void onHeartbeat(Member member,
                           long timestamp)

      Notifies of a received heartbeat. This method is always invoked before `QuorumFunction.apply(Collection)` so the `QuorumFunction` can update its internal state before deciding on quorum presence.
      Parameters:
        `member` - member from which heartbeat was received
        `timestamp` - timestmap on which heartbeat was received

Copyright © 2019. All rights reserved.