@HmilySPI(value="etcd") public class EtcdConfigLoader extends Object implements ConfigLoader<EtcdConfig>
ConfigLoader.Context, ConfigLoader.LoaderHandler<T extends org.dromara.hmily.config.api.Config>, ConfigLoader.PassiveHandler<T extends org.dromara.hmily.config.api.Config>LOG| 构造器和说明 |
|---|
EtcdConfigLoader()
Instantiates a new Etcd config loader.
|
EtcdConfigLoader(EtcdClient client)
Instantiates a new Etcd config loader.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
load(Supplier<ConfigLoader.Context> context,
ConfigLoader.LoaderHandler<EtcdConfig> handler) |
void |
passive(Supplier<ConfigLoader.Context> context,
ConfigLoader.PassiveHandler<org.dromara.hmily.config.api.Config> handler,
org.dromara.hmily.config.api.Config config) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitagainLoad, pushpublic EtcdConfigLoader()
public EtcdConfigLoader(EtcdClient client)
client - the clientpublic void load(Supplier<ConfigLoader.Context> context, ConfigLoader.LoaderHandler<EtcdConfig> handler)
load 在接口中 ConfigLoader<EtcdConfig>public void passive(Supplier<ConfigLoader.Context> context, ConfigLoader.PassiveHandler<org.dromara.hmily.config.api.Config> handler, org.dromara.hmily.config.api.Config config)
passive 在接口中 ConfigLoader<EtcdConfig>Copyright © 2020 dromara. All rights reserved.