Contains classes related to cluster split brain protection.
Interface Summary Interface Description HeartbeatAware
SplitBrainProtectionFunctions which implement this interface will be notified of member heartbeats.
PingAwareSplit brain protection functions that need access to ICMP ping failure detector should implement this interface; the instance of
PingFailureDetectorused by this member's
ClusterHeartbeatManagerwill be provided on initialization.
SplitBrainProtectionprovides access to the current status of a split brain protection.
SplitBrainProtectionFunctionA 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 the
HeartbeatAwarewill be also notified of heartbeats.
SplitBrainProtectionListenerListener to get notified when a split brain protection state is changed SplitBrainProtectionServiceSplit brain protection service can be used to trigger cluster split brain protections at any time.
Enum Summary Enum Description SplitBrainProtectionOnRepresents a cluster split brain protection type
Exception Summary Exception Description SplitBrainProtectionExceptionAn exception thrown when the cluster size is below the defined threshold.