接口的使用
org.apache.dubbo.common.config.configcenter.ConfigurationListener
-
使用ConfigurationListener的程序包 程序包 说明 org.apache.dubbo.common.config.configcenter org.apache.dubbo.common.config.configcenter.nop org.apache.dubbo.common.config.configcenter.wrapper -
-
org.apache.dubbo.common.config.configcenter中ConfigurationListener的使用
参数类型为ConfigurationListener的org.apache.dubbo.common.config.configcenter中的方法 修饰符和类型 方法 说明 voidAbstractDynamicConfiguration. addListener(String key, String group, ConfigurationListener listener)voidDynamicConfiguration. addListener(String key, String group, ConfigurationListener listener)Register a configuration listener for a specified key The listener only works for service governance purpose, so the target group would always be the value user specifies at startup or 'dubbo' by default.default voidDynamicConfiguration. addListener(String key, ConfigurationListener listener)voidTreePathDynamicConfiguration. addListener(String key, String group, ConfigurationListener listener)voidAbstractDynamicConfiguration. removeListener(String key, String group, ConfigurationListener listener)voidDynamicConfiguration. removeListener(String key, String group, ConfigurationListener listener)Stops one listener from listening to value changes in the specified key.default voidDynamicConfiguration. removeListener(String key, ConfigurationListener listener)voidTreePathDynamicConfiguration. removeListener(String key, String group, ConfigurationListener listener) -
org.apache.dubbo.common.config.configcenter.nop中ConfigurationListener的使用
参数类型为ConfigurationListener的org.apache.dubbo.common.config.configcenter.nop中的方法 修饰符和类型 方法 说明 voidNopDynamicConfiguration. addListener(String key, String group, ConfigurationListener listener)已过时。voidNopDynamicConfiguration. removeListener(String key, String group, ConfigurationListener listener)已过时。 -
org.apache.dubbo.common.config.configcenter.wrapper中ConfigurationListener的使用
参数类型为ConfigurationListener的org.apache.dubbo.common.config.configcenter.wrapper中的方法 修饰符和类型 方法 说明 voidCompositeDynamicConfiguration. addListener(String key, String group, ConfigurationListener listener)voidCompositeDynamicConfiguration. removeListener(String key, String group, ConfigurationListener listener)
-