@FunctionalInterface public interface HeartbeatAware
SplitBrainProtectionFunction
s which implement this interface will be notified of member heartbeats.Modifier and Type | Method and Description |
---|---|
void |
onHeartbeat(Member member,
long timestamp)
Notifies of a received heartbeat.
|
void onHeartbeat(Member member, long timestamp)
SplitBrainProtectionFunction.apply(Collection)
so the SplitBrainProtectionFunction
can 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 receivedtimestamp
- timestmap on which heartbeat was receivedCopyright © 2022 Hazelcast, Inc.. All rights reserved.