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 Details

    • getSplitBrainProtectionName

      @Nullable String getSplitBrainProtectionName()
      Returns the split brain protection name for operations of the data structure.
      Returns:
      the split brain protection name
    • setSplitBrainProtectionName

      SplitBrainPolicyAwareConfig setSplitBrainProtectionName(@Nullable String splitBrainProtectionName)
      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 the MergePolicyConfig for the data structure.
      Returns:
      the MergePolicyConfig for the data structure
    • setMergePolicyConfig

      SplitBrainPolicyAwareConfig setMergePolicyConfig(@Nonnull MergePolicyConfig mergePolicyConfig)
      Sets the MergePolicyConfig for the data structure.
      Returns:
      this configuration