public class CloudConfigServiceImp extends TimerTask implements CloudConfigService
| 构造器和说明 |
|---|
CloudConfigServiceImp() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
attention(String group,
String key,
CloudConfigHandler observer) |
long |
getRefreshInterval()
配置刷新间隔时间(仅当isFilesMode时有效)
|
void |
onUpdate(String group,
String key) |
Config |
pull(String group,
String key) |
boolean |
push(String group,
String key,
String value) |
boolean |
remove(String group,
String key) |
void |
run() |
cancel, scheduledExecutionTimepublic long getRefreshInterval()
public Config pull(String group, String key)
pull 在接口中 CloudConfigServicepublic boolean push(String group, String key, String value)
push 在接口中 CloudConfigServicepublic boolean remove(String group, String key)
remove 在接口中 CloudConfigServicepublic void attention(String group, String key, CloudConfigHandler observer)
attention 在接口中 CloudConfigServiceCopyright © 2021. All rights reserved.