public class CloudConfigServiceImp extends TimerTask implements CloudConfigService
| 构造器和说明 |
|---|
CloudConfigServiceImp() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
attention(String group,
String key,
CloudConfigHandler observer) |
Config |
get(String group,
String key)
获取配置
|
long |
getRefreshInterval() |
boolean |
remove(String group,
String key) |
void |
run() |
boolean |
set(String group,
String key,
String value) |
cancel, scheduledExecutionTimepublic long getRefreshInterval()
public Config get(String group, String key)
get 在接口中 CloudConfigServicepublic boolean set(String group, String key, String value)
set 在接口中 CloudConfigServicepublic boolean remove(String group, String key)
remove 在接口中 CloudConfigServicepublic void attention(String group, String key, CloudConfigHandler observer)
attention 在接口中 CloudConfigServiceCopyright © 2021. All rights reserved.