public class CloudConfigServiceEtcdImpl extends Object implements org.noear.solon.cloud.service.CloudConfigService
| Constructor and Description |
|---|
CloudConfigServiceEtcdImpl(org.noear.solon.cloud.CloudProps cloudProps) |
| Modifier and Type | Method and Description |
|---|---|
void |
attention(String group,
String name,
org.noear.solon.cloud.CloudConfigHandler observer)
关注配置
|
void |
close()
关闭
|
org.noear.solon.cloud.model.Config |
pull(String group,
String name)
获取配置
|
boolean |
push(String group,
String name,
String value)
设置配置
|
boolean |
remove(String group,
String name)
移除配置
|
public CloudConfigServiceEtcdImpl(org.noear.solon.cloud.CloudProps cloudProps)
public org.noear.solon.cloud.model.Config pull(String group, String name)
pull in interface org.noear.solon.cloud.service.CloudConfigServicepublic boolean push(String group, String name, String value)
push in interface org.noear.solon.cloud.service.CloudConfigServicepublic boolean remove(String group, String name)
remove in interface org.noear.solon.cloud.service.CloudConfigServicepublic void attention(String group, String name, org.noear.solon.cloud.CloudConfigHandler observer)
attention in interface org.noear.solon.cloud.service.CloudConfigServicepublic void close()
Copyright © 2025. All rights reserved.