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 theMergePolicyConfigfor the data structure.Returns the split brain protection name for operations of the data structure.setMergePolicyConfig(MergePolicyConfig mergePolicyConfig) Sets theMergePolicyConfigfor 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 theMergePolicyConfigfor the data structure.- Returns:
- the
MergePolicyConfigfor the data structure
-
setMergePolicyConfig
Sets theMergePolicyConfigfor the data structure.- Returns:
- this configuration
-