Search in sources :

Example 21 with ListConfig

use of com.hazelcast.config.ListConfig in project hazelcast by hazelcast.

the class DynamicConfigTest method assertConfigurationsEqualOnAllMembers.

private void assertConfigurationsEqualOnAllMembers(ListConfig listConfig) {
    String name = listConfig.getName();
    for (HazelcastInstance instance : members) {
        ListConfig registeredConfig = instance.getConfig().getListConfig(name);
        assertEquals(listConfig, registeredConfig);
    }
}
Also used : HazelcastInstance(com.hazelcast.core.HazelcastInstance) ListConfig(com.hazelcast.config.ListConfig)

Aggregations

ListConfig (com.hazelcast.config.ListConfig)21 Test (org.junit.Test)10 QuickTest (com.hazelcast.test.annotation.QuickTest)9 Config (com.hazelcast.config.Config)8 ParallelJVMTest (com.hazelcast.test.annotation.ParallelJVMTest)8 MapConfig (com.hazelcast.config.MapConfig)7 CacheSimpleConfig (com.hazelcast.config.CacheSimpleConfig)5 CardinalityEstimatorConfig (com.hazelcast.config.CardinalityEstimatorConfig)5 DurableExecutorConfig (com.hazelcast.config.DurableExecutorConfig)5 ExecutorConfig (com.hazelcast.config.ExecutorConfig)5 FlakeIdGeneratorConfig (com.hazelcast.config.FlakeIdGeneratorConfig)5 MultiMapConfig (com.hazelcast.config.MultiMapConfig)5 PNCounterConfig (com.hazelcast.config.PNCounterConfig)5 QueueConfig (com.hazelcast.config.QueueConfig)5 ReliableTopicConfig (com.hazelcast.config.ReliableTopicConfig)5 ReplicatedMapConfig (com.hazelcast.config.ReplicatedMapConfig)5 RingbufferConfig (com.hazelcast.config.RingbufferConfig)5 ScheduledExecutorConfig (com.hazelcast.config.ScheduledExecutorConfig)5 SetConfig (com.hazelcast.config.SetConfig)5 TopicConfig (com.hazelcast.config.TopicConfig)5