程序包 org.apache.dubbo.common.config.configcenter
-
接口概要 接口 说明 ConfigurationListener Config listener, will get notified when the config it listens on changes.Constants 已过时。 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
-
类概要 类 说明 AbstractDynamicConfiguration The abstract implementation ofDynamicConfiguration
AbstractDynamicConfigurationFactory AbstractDynamicConfigurationFactory
implementation with cache abilityConfigChangedEvent An event raised when the config changed, immutable.ConfigItem Hold content and version informationTreePathDynamicConfiguration An abstract implementation ofDynamicConfiguration
is like "tree-structure" path :"file"
"zookeeper"
"consul"
-
枚举概要 枚举 说明 ConfigChangeType Config change event type