程序包的使用
org.apache.dubbo.common.config.configcenter
-
org.apache.dubbo.common.config使用的org.apache.dubbo.common.config.configcenter中的类 类 说明 DynamicConfiguration Dynamic Configuration
From the use scenario internally inside framework, there're 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 config -
org.apache.dubbo.common.config.configcenter使用的org.apache.dubbo.common.config.configcenter中的类 类 说明 AbstractDynamicConfiguration The abstract implementation ofDynamicConfigurationConfigChangedEvent An event raised when the config changed, immutable.ConfigChangeType Config change event typeConfigurationListener Config listener, will get notified when the config it listens on changes.DynamicConfiguration Dynamic Configuration
From the use scenario internally inside framework, there're 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 configDynamicConfigurationFactory The factory interface to create the instance ofDynamicConfiguration -
org.apache.dubbo.common.config.configcenter.wrapper使用的org.apache.dubbo.common.config.configcenter中的类 类 说明 ConfigurationListener Config listener, will get notified when the config it listens on changes.DynamicConfiguration Dynamic Configuration
From the use scenario internally inside framework, there're 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 config