@FunctionalInterface public interface SplitBrainProtectionFunction
SplitBrainProtectionFunction
also
implements HeartbeatAware
SplitBrainProtectionFunction
that implements HeartbeatAware
will be also notified of heartbeats.
Additionally, a SplitBrainProtectionFunction
that implements MembershipListener
will be notified of membership events. All listener invocations are executed before the
SplitBrainProtectionFunction
's apply(Collection)
method is invoked.Modifier and Type | Method and Description |
---|---|
boolean |
apply(Collection<Member> members)
Determines whether the minimum cluster size property is satisfied based on the current list of members
in the cluster.
|
boolean apply(Collection<Member> members)
members
- snapshot of current member listCopyright © 2024 Hazelcast, Inc.. All rights reserved.