use of com.hazelcast.config.CardinalityEstimatorConfig in project hazelcast by hazelcast.
the class DynamicConfigTest method testCardinalityEstimatorConfig.
@Test
public void testCardinalityEstimatorConfig() {
CardinalityEstimatorConfig config = new CardinalityEstimatorConfig(name, 4, 2).setMergePolicyConfig(new MergePolicyConfig("com.hazelcast.spi.merge.DiscardMergePolicy", 20));
driver.getConfig().addCardinalityEstimatorConfig(config);
assertConfigurationsEqualOnAllMembers(config);
}
Aggregations