Package com.hazelcast.config
Interface SplitBrainPolicyAwareConfig
- All Known Implementing Classes:
CardinalityEstimatorConfig
,VectorCollectionConfig
public interface SplitBrainPolicyAwareConfig
Contract of data structure configuration that supports
split-brain protection and merge policies.
-
Method Summary
Modifier and TypeMethodDescriptionGets theMergePolicyConfig
for the data structure.Returns the split brain protection name for operations of the data structure.setMergePolicyConfig
(MergePolicyConfig mergePolicyConfig) Sets theMergePolicyConfig
for the data structure.setSplitBrainProtectionName
(String splitBrainProtectionName) Sets the split brain protection name for operations of the data structure.
-
Method Details
-
getSplitBrainProtectionName
Returns the split brain protection name for operations of the data structure.- Returns:
- the split brain protection name
-
setSplitBrainProtectionName
Sets the split brain protection name for operations of the data structure.- Parameters:
splitBrainProtectionName
- the split brain protection name- Returns:
- this configuration
-
getMergePolicyConfig
MergePolicyConfig getMergePolicyConfig()Gets theMergePolicyConfig
for the data structure.- Returns:
- the
MergePolicyConfig
for the data structure
-
setMergePolicyConfig
Sets theMergePolicyConfig
for the data structure.- Returns:
- this configuration
-