use of com.hazelcast.internal.dynamicconfig.DynamicConfigurationAwareConfig in project hazelcast by hazelcast.
the class AddListConfigMessageTask method checkStaticConfigDoesNotExist.
@Override
protected boolean checkStaticConfigDoesNotExist(IdentifiedDataSerializable config) {
DynamicConfigurationAwareConfig nodeConfig = (DynamicConfigurationAwareConfig) nodeEngine.getConfig();
ListConfig listConfig = (ListConfig) config;
return nodeConfig.checkStaticConfigDoesNotExist(nodeConfig.getStaticConfig().getListConfigs(), listConfig.getName(), listConfig);
}
use of com.hazelcast.internal.dynamicconfig.DynamicConfigurationAwareConfig in project hazelcast by hazelcast.
the class AddQueueConfigMessageTask method checkStaticConfigDoesNotExist.
@Override
protected boolean checkStaticConfigDoesNotExist(IdentifiedDataSerializable config) {
DynamicConfigurationAwareConfig nodeConfig = (DynamicConfigurationAwareConfig) nodeEngine.getConfig();
QueueConfig queueConfig = (QueueConfig) config;
return nodeConfig.checkStaticConfigDoesNotExist(nodeConfig.getStaticConfig().getQueueConfigs(), queueConfig.getName(), queueConfig);
}
use of com.hazelcast.internal.dynamicconfig.DynamicConfigurationAwareConfig in project hazelcast by hazelcast.
the class AddScheduledExecutorConfigMessageTask method checkStaticConfigDoesNotExist.
@Override
protected boolean checkStaticConfigDoesNotExist(IdentifiedDataSerializable config) {
DynamicConfigurationAwareConfig nodeConfig = (DynamicConfigurationAwareConfig) nodeEngine.getConfig();
ScheduledExecutorConfig scheduledExecutorConfig = (ScheduledExecutorConfig) config;
return nodeConfig.checkStaticConfigDoesNotExist(nodeConfig.getStaticConfig().getScheduledExecutorConfigs(), scheduledExecutorConfig.getName(), scheduledExecutorConfig);
}
use of com.hazelcast.internal.dynamicconfig.DynamicConfigurationAwareConfig in project hazelcast by hazelcast.
the class AddCacheConfigMessageTask method checkStaticConfigDoesNotExist.
@Override
protected boolean checkStaticConfigDoesNotExist(IdentifiedDataSerializable config) {
DynamicConfigurationAwareConfig nodeConfig = (DynamicConfigurationAwareConfig) nodeEngine.getConfig();
CacheSimpleConfig cacheConfig = (CacheSimpleConfig) config;
return nodeConfig.checkStaticConfigDoesNotExist(nodeConfig.getStaticConfig().getCacheConfigs(), cacheConfig.getName(), cacheConfig);
}
use of com.hazelcast.internal.dynamicconfig.DynamicConfigurationAwareConfig in project hazelcast by hazelcast.
the class AddFlakeIdGeneratorConfigMessageTask method checkStaticConfigDoesNotExist.
@Override
protected boolean checkStaticConfigDoesNotExist(IdentifiedDataSerializable config) {
DynamicConfigurationAwareConfig nodeConfig = (DynamicConfigurationAwareConfig) nodeEngine.getConfig();
FlakeIdGeneratorConfig flakeIdGeneratorConfig = (FlakeIdGeneratorConfig) config;
return nodeConfig.checkStaticConfigDoesNotExist(nodeConfig.getStaticConfig().getFlakeIdGeneratorConfigs(), flakeIdGeneratorConfig.getName(), flakeIdGeneratorConfig);
}
Aggregations