| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.rpc.config | |
| com.alipay.sofa.rpc.filter | |
| com.alipay.sofa.rpc.registry.zk |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractInterfaceConfig<T,S extends AbstractInterfaceConfig>
接口级的公共配置
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConsumerConfig<T>
服务消费者配置
|
class |
ProviderConfig<T>
服务提供者配置
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
ConfigUniqueNameGenerator.getServiceName(AbstractInterfaceConfig interfaceConfig)
得到服务唯一名称,无需兼容之前的版本
|
static String |
ConfigUniqueNameGenerator.getUniqueName(AbstractInterfaceConfig interfaceConfig)
唯一标识UniqueName的产生方法,主要用于内部找接口等,格式为interface:version[:uniqueId]
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected AbstractInterfaceConfig |
FilterInvoker.config
过滤器所在的接口,可能是provider或者consumer
|
| 限定符和类型 | 方法和说明 |
|---|---|
AbstractInterfaceConfig |
FilterInvoker.getConfig()
得到接口配置
|
| 构造器和说明 |
|---|
FilterChain(List<Filter> filters,
FilterInvoker lastInvoker,
AbstractInterfaceConfig config)
构造执行链
|
FilterInvoker(AbstractInterfaceConfig config)
如果无需下一层过滤器
|
FilterInvoker(Filter nextFilter,
FilterInvoker invoker,
AbstractInterfaceConfig config)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ZookeeperOverrideObserver.addConfig(AbstractInterfaceConfig config,
String overridePath,
org.apache.curator.framework.recipes.cache.ChildData data)
接口配置新增子节点Data
|
void |
ZookeeperConfigObserver.addConfig(AbstractInterfaceConfig config,
String configPath,
org.apache.curator.framework.recipes.cache.ChildData data)
接口配置新增子节点Data
|
void |
ZookeeperOverrideObserver.addConfigListener(AbstractInterfaceConfig config,
ConfigListener listener)
Add config listener.
|
void |
ZookeeperConfigObserver.addConfigListener(AbstractInterfaceConfig config,
ConfigListener listener)
Add config listener.
|
void |
ZookeeperConfigObserver.removeConfig(AbstractInterfaceConfig config,
String configPath,
org.apache.curator.framework.recipes.cache.ChildData data)
接口配置删除子节点Data
|
void |
ZookeeperOverrideObserver.removeConfig(AbstractInterfaceConfig config,
String overridePath,
org.apache.curator.framework.recipes.cache.ChildData data,
AbstractInterfaceConfig registerConfig)
接口配置删除子节点Data
|
void |
ZookeeperOverrideObserver.removeConfig(AbstractInterfaceConfig config,
String overridePath,
org.apache.curator.framework.recipes.cache.ChildData data,
AbstractInterfaceConfig registerConfig)
接口配置删除子节点Data
|
void |
ZookeeperOverrideObserver.removeConfigListener(AbstractInterfaceConfig config)
Remove config listener.
|
void |
ZookeeperConfigObserver.removeConfigListener(AbstractInterfaceConfig config)
Remove config listener.
|
protected void |
ZookeeperRegistry.subscribeConfig(AbstractInterfaceConfig config,
ConfigListener listener)
订阅接口级配置
|
void |
ZookeeperOverrideObserver.updateConfig(AbstractInterfaceConfig config,
String overridePath,
org.apache.curator.framework.recipes.cache.ChildData data)
接口配置修改子节点Data
|
void |
ZookeeperConfigObserver.updateConfig(AbstractInterfaceConfig config,
String configPath,
org.apache.curator.framework.recipes.cache.ChildData data)
接口配置修改子节点Data
|
void |
ZookeeperOverrideObserver.updateConfigAll(AbstractInterfaceConfig config,
String overridePath,
List<org.apache.curator.framework.recipes.cache.ChildData> currentData)
接口配置修改子节点Data列表
|
void |
ZookeeperConfigObserver.updateConfigAll(AbstractInterfaceConfig config,
String configPath,
List<org.apache.curator.framework.recipes.cache.ChildData> currentData)
接口配置修改子节点Data列表
|
Copyright © 2008–2018 The Ant Financial. All rights reserved.