Package com.hazelcast.splitbrainprotection
Contains classes related to cluster split brain protection.
-
Interface Summary Interface Description HeartbeatAware SplitBrainProtectionFunction
s which implement this interface will be notified of member heartbeats.PingAware Split brain protection functions that need access to ICMP ping failure detector should implement this interface; the instance ofPingFailureDetector
used by this member'sClusterHeartbeatManager
will be provided on initialization.SplitBrainProtection SplitBrainProtection
provides access to the current status of a split brain protection.SplitBrainProtectionFunction A function that can be used to conclude whether the minimum cluster size property is satisfied? The split brain protection function is consulted:
When a cluster membership change occurs (member added or removed) Whenever a hearbeat is received from a member, in case theSplitBrainProtectionFunction
also implementsHeartbeatAware
ASplitBrainProtectionFunction
that implementsHeartbeatAware
will be also notified of heartbeats.SplitBrainProtectionListener Listener to get notified when a split brain protection state is changed.SplitBrainProtectionService Split brain protection service can be used to trigger cluster split brain protections at any time. -
Class Summary Class Description SplitBrainProtectionEvent An Event that is send when aSplitBrainProtection
changes. -
Enum Summary Enum Description SplitBrainProtectionOn Represents a cluster split brain protection type -
Exception Summary Exception Description SplitBrainProtectionException An exception thrown when the cluster size is below the defined threshold.