public class CloudConfigServiceEtcdImpl extends Object implements CloudConfigService
| Constructor and Description |
|---|
CloudConfigServiceEtcdImpl(CloudProps cloudProps) |
| Modifier and Type | Method and Description |
|---|---|
void |
attention(String group,
String name,
CloudConfigHandler observer)
关注配置
|
void |
close()
关闭
|
Config |
pull(String group,
String name)
获取配置
|
boolean |
push(String group,
String name,
String value)
设置配置
|
boolean |
remove(String group,
String name)
移除配置
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpull, push, removepublic CloudConfigServiceEtcdImpl(CloudProps cloudProps)
public Config pull(String group, String name)
pull in interface CloudConfigServicepublic boolean push(String group, String name, String value)
push in interface CloudConfigServicepublic boolean remove(String group, String name)
remove in interface CloudConfigServicepublic void attention(String group, String name, CloudConfigHandler observer)
attention in interface CloudConfigServicepublic void close()
Copyright © 2025. All rights reserved.