Package com.hazelcast.config
Class SplitBrainProtectionConfigBuilder
java.lang.Object
com.hazelcast.config.SplitBrainProtectionConfigBuilder
- Direct Known Subclasses:
ProbabilisticSplitBrainProtectionConfigBuilder
,RecentlyActiveSplitBrainProtectionConfigBuilder
Commons for split brain protection config builders.
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Whether this split brain protection config is enabled or notprotected int
The minimum cluster size: expected number of live members in cluster not to be considered it split -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract SplitBrainProtectionConfig
build()
enabled
(boolean enabled) withSplitBrainProtectionSize
(int minimumClusterSize)
-
Field Details
-
minimumClusterSize
protected int minimumClusterSizeThe minimum cluster size: expected number of live members in cluster not to be considered it split -
enabled
protected boolean enabledWhether this split brain protection config is enabled or not
-
-
Constructor Details
-
SplitBrainProtectionConfigBuilder
public SplitBrainProtectionConfigBuilder()
-
-
Method Details
-
enabled
-
withSplitBrainProtectionSize
-
build
-