@FunctionalInterface public interface HeartbeatAware
SplitBrainProtectionFunctions which implement this interface will be notified of member heartbeats.
|Modifier and Type||Method and Description|
Notifies of a received heartbeat.
void onHeartbeat(Member member, long timestamp)
SplitBrainProtectionFunctioncan update its internal state before deciding on whether the minimum cluster size property (for the purpose of split brain detection) is satisfied.
member- member from which heartbeat was received
timestamp- timestmap on which heartbeat was received
Copyright © 2022 Hazelcast, Inc.. All rights reserved.