Package com.hazelcast.config
Class RecentlyActiveSplitBrainProtectionConfigBuilder
java.lang.Object
com.hazelcast.config.SplitBrainProtectionConfigBuilder
com.hazelcast.config.RecentlyActiveSplitBrainProtectionConfigBuilder
public class RecentlyActiveSplitBrainProtectionConfigBuilder
extends SplitBrainProtectionConfigBuilder
Builder for a
SplitBrainProtectionConfig
configured with RecentlyActiveSplitBrainProtectionFunction
that
considers members present in the context of a split brain protection if the last received heartbeat
is within a recent window of time.-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default duration of time window during which a heartbeat must have been received from a member, for it to be considered present for split brain protection (in milliseconds).Fields inherited from class com.hazelcast.config.SplitBrainProtectionConfigBuilder
enabled, minimumClusterSize
-
Method Summary
Methods inherited from class com.hazelcast.config.SplitBrainProtectionConfigBuilder
enabled, withSplitBrainProtectionSize
-
Field Details
-
DEFAULT_HEARTBEAT_TOLERANCE_MILLIS
public static final int DEFAULT_HEARTBEAT_TOLERANCE_MILLISDefault duration of time window during which a heartbeat must have been received from a member, for it to be considered present for split brain protection (in milliseconds).
-
-
Method Details
-
build
- Specified by:
build
in classSplitBrainProtectionConfigBuilder
-