Package org.apache.dubbo.common.config.configcenter
package org.apache.dubbo.common.config.configcenter
-
ClassDescriptionThe abstract implementation of
DynamicConfigurationAbstractDynamicConfigurationFactoryimplementation with cache abilityAn event raised when the config changed, immutable.Config change event typeHold content and version informationConfig listener, will get notified when the config it listens on changes.Deprecated.Dynamic Configuration
From the use scenario internally inside framework, there are mainly three kinds of methods:DynamicConfiguration.getProperties(String, String, long), get configuration file from Config Center at start up.DynamicConfiguration.addListener(String, String, ConfigurationListener)/DynamicConfiguration.removeListener(String, String, ConfigurationListener), add or remove listeners for governance rules or config items that need to watch.Configuration.getProperty(String, Object), get a single config item.DynamicConfiguration.getConfig(String, String, long), get the specified configThe factory interface to create the instance ofDynamicConfigurationAn abstract implementation ofDynamicConfigurationis like "tree-structure" path :invalid reference
"file"invalid reference
"zookeeper"
CommonConstants