| Package | Description |
|---|---|
| com.ctrip.framework.apollo | |
| com.ctrip.framework.apollo.internals | |
| com.ctrip.framework.apollo.spring.config | |
| com.ctrip.framework.apollo.spring.property |
| Modifier and Type | Method and Description |
|---|---|
void |
Config.addChangeListener(ConfigChangeListener listener)
Add change listener to this config instance, will be notified when any key is changed in this namespace.
|
void |
Config.addChangeListener(ConfigChangeListener listener,
Set<String> interestedKeys)
Add change listener to this config instance, will only be notified when any of the interested keys is changed in this namespace.
|
void |
Config.addChangeListener(ConfigChangeListener listener,
Set<String> interestedKeys,
Set<String> interestedKeyPrefixes)
Add change listener to this config instance, will only be notified when any of the interested keys is changed in this namespace.
|
boolean |
Config.removeChangeListener(ConfigChangeListener listener)
Remove the change listener
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractConfig.addChangeListener(ConfigChangeListener listener) |
void |
AbstractConfig.addChangeListener(ConfigChangeListener listener,
Set<String> interestedKeys) |
void |
AbstractConfig.addChangeListener(ConfigChangeListener listener,
Set<String> interestedKeys,
Set<String> interestedKeyPrefixes) |
boolean |
AbstractConfig.removeChangeListener(ConfigChangeListener listener) |
| Modifier and Type | Class and Description |
|---|---|
class |
CachedCompositePropertySource |
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigPropertySource.addChangeListener(ConfigChangeListener listener) |
| Modifier and Type | Class and Description |
|---|---|
class |
AutoUpdateConfigChangeListener
Create by zhangzheng on 2018/3/6
|
Copyright © 2022 Ctrip, Inc.. All rights reserved.