Interface SplitBrainMergePolicy<V,​T extends MergingValue<V>,​R>

    • Method Detail

      • merge

        R merge​(T mergingValue,
                T existingValue)
        Selects the value of either the merging or the existing MergingValue which should be merged.

        Note that the existing MergingValue instance may be null if no matching data could be found to the merging MergingValue.

        Parameters:
        mergingValue - MergingValue instance that has the merging data of the smaller sub-cluster
        existingValue - MergingValue instance that has the existing data or null if no matching data exists
        Returns:
        the selected value for merging