public class CloudConfigServiceZkImp extends Object implements org.noear.solon.cloud.service.CloudConfigService
| 构造器和说明 |
|---|
CloudConfigServiceZkImp(org.noear.solon.cloud.CloudProps cloudProps) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
attention(String group,
String key,
org.noear.solon.cloud.CloudConfigHandler observer) |
void |
close()
关闭
|
org.noear.solon.cloud.model.Config |
pull(String group,
String key) |
boolean |
push(String group,
String key,
String value) |
boolean |
remove(String group,
String key) |
public CloudConfigServiceZkImp(org.noear.solon.cloud.CloudProps cloudProps)
public org.noear.solon.cloud.model.Config pull(String group, String key)
pull 在接口中 org.noear.solon.cloud.service.CloudConfigServicepublic boolean push(String group, String key, String value)
push 在接口中 org.noear.solon.cloud.service.CloudConfigServicepublic boolean remove(String group, String key)
remove 在接口中 org.noear.solon.cloud.service.CloudConfigServicepublic void attention(String group, String key, org.noear.solon.cloud.CloudConfigHandler observer)
attention 在接口中 org.noear.solon.cloud.service.CloudConfigServicepublic void close()
throws InterruptedException
Copyright © 2022. All rights reserved.