public class ZookeeperDynamicConfiguration extends Object implements DynamicConfiguration
DEFAULT_GROUP| 限定符和类型 | 方法和说明 |
|---|---|
void |
addListener(String key,
String group,
ConfigurationListener listener)
For service governance, multi group is not supported by this implementation.
|
Object |
getInternalProperty(String key) |
String |
getProperties(String key,
String group,
long timeout) |
String |
getRule(String key,
String group,
long timeout) |
void |
removeListener(String key,
String group,
ConfigurationListener listener) |
addListener, getDynamicConfiguration, getProperties, getRule, getRuleKey, removeListenerpublic Object getInternalProperty(String key)
getInternalProperty 在接口中 org.apache.dubbo.common.config.Configurationkey - e.g., {service}.configurators, {service}.tagrouters, {group}.dubbo.propertiespublic void addListener(String key, String group, ConfigurationListener listener)
addListener 在接口中 DynamicConfigurationpublic void removeListener(String key, String group, ConfigurationListener listener)
removeListener 在接口中 DynamicConfigurationpublic String getRule(String key, String group, long timeout) throws IllegalStateException
getRule 在接口中 DynamicConfigurationIllegalStateExceptionpublic String getProperties(String key, String group, long timeout) throws IllegalStateException
getProperties 在接口中 DynamicConfigurationIllegalStateExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.