public class ConsulDynamicConfiguration extends Object implements DynamicConfiguration
DEFAULT_GROUP| Constructor and Description |
|---|
ConsulDynamicConfiguration(org.apache.dubbo.common.URL url) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(String key,
String group,
ConfigurationListener listener) |
String |
getConfig(String key,
String group,
long timeout) |
Object |
getInternalProperty(String key) |
void |
removeListener(String key,
String group,
ConfigurationListener listener) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, getConfig, getConfig, getDynamicConfiguration, removeListenerpublic ConsulDynamicConfiguration(org.apache.dubbo.common.URL url)
public void addListener(String key, String group, ConfigurationListener listener)
addListener in interface DynamicConfigurationpublic void removeListener(String key, String group, ConfigurationListener listener)
removeListener in interface DynamicConfigurationpublic String getConfig(String key, String group, long timeout) throws IllegalStateException
getConfig in interface DynamicConfigurationIllegalStateExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.