Class HyperLogLogMergePolicy

java.lang.Object
com.hazelcast.spi.impl.merge.AbstractSplitBrainMergePolicy<com.hazelcast.cardinality.impl.hyperloglog.HyperLogLog,SplitBrainMergeTypes.CardinalityEstimatorMergeTypes,com.hazelcast.cardinality.impl.hyperloglog.HyperLogLog>
com.hazelcast.spi.merge.HyperLogLogMergePolicy
All Implemented Interfaces:
DataSerializable, IdentifiedDataSerializable, SplitBrainMergePolicy<com.hazelcast.cardinality.impl.hyperloglog.HyperLogLog,SplitBrainMergeTypes.CardinalityEstimatorMergeTypes,com.hazelcast.cardinality.impl.hyperloglog.HyperLogLog>

public class HyperLogLogMergePolicy extends com.hazelcast.spi.impl.merge.AbstractSplitBrainMergePolicy<com.hazelcast.cardinality.impl.hyperloglog.HyperLogLog,SplitBrainMergeTypes.CardinalityEstimatorMergeTypes,com.hazelcast.cardinality.impl.hyperloglog.HyperLogLog>
Only available for HyperLogLog backed CardinalityEstimator.

Uses the default merge algorithm from HyperLogLog research, keeping the max register value of the two given instances. The result should be the union to the two HyperLogLog estimations.

Since:
3.10