| 构造器和说明 |
|---|
ClientWorker(ConfigFilterChainManager configFilterChainManager,
ServerListManager serverListManager,
NacosClientProperties properties) |
ConfigRpcTransportClient(NacosClientProperties properties,
ServerListManager serverListManager) |
ConfigTransportClient(NacosClientProperties properties,
ServerListManager serverListManager) |
ServerListManager(NacosClientProperties properties) |
| 限定符和类型 | 字段和说明 |
|---|---|
static NacosClientProperties |
NacosClientProperties.PROTOTYPE
all the NacosClientProperties object must be created by PROTOTYPE, so child NacosClientProperties can read
properties from the PROTOTYPE. it looks like this: |-PROTOTYPE----------------> ip=127.0.0.1
|---|-child1---------------> port=6379 if you search key called "port" from child1, certainly you will get 6379
if you search key called "ip" from child1, you will get 127.0.0.1. because the child can read properties from
parent NacosClientProperties
|
| 限定符和类型 | 方法和说明 |
|---|---|
NacosClientProperties |
NacosClientProperties.derive()
create a new NacosClientProperties which scope is itself.
|
NacosClientProperties |
NacosClientProperties.derive(Properties properties)
create a new NacosClientProperties from NacosClientProperties#PROTOTYPE and init.
|
| 构造器和说明 |
|---|
ServiceInfoHolder(String namespace,
String notifierEventScope,
NacosClientProperties properties) |
| 构造器和说明 |
|---|
ServerListManager(NacosClientProperties properties,
String namespace) |
ServiceInfoUpdateService(NacosClientProperties properties,
ServiceInfoHolder serviceInfoHolder,
NamingClientProxy namingClientProxy,
InstancesChangeNotifier changeNotifier) |
| 构造器和说明 |
|---|
NamingClientProxyDelegate(String namespace,
ServiceInfoHolder serviceInfoHolder,
NacosClientProperties properties,
InstancesChangeNotifier changeNotifier) |
| 构造器和说明 |
|---|
NamingGrpcClientProxy(String namespaceId,
SecurityProxy securityProxy,
ServerListFactory serverListFactory,
NacosClientProperties properties,
ServiceInfoHolder serviceInfoHolder) |
| 构造器和说明 |
|---|
NamingGrpcRedoService(NamingGrpcClientProxy clientProxy,
NacosClientProperties properties) |
| 构造器和说明 |
|---|
NamingHttpClientProxy(String namespaceId,
SecurityProxy securityProxy,
ServerListManager serverListManager,
NacosClientProperties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
CacheDirUtil.initCacheDir(String namespace,
NacosClientProperties properties)
Init cache dir.
|
static String |
InitUtils.initEndpoint(NacosClientProperties properties)
Init end point.
|
static String |
InitUtils.initNamespaceForNaming(NacosClientProperties properties)
Add a difference to the name naming.
|
static void |
InitUtils.initWebRootContext(NacosClientProperties properties)
Init web root context.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
ValidatorUtils.checkInitParam(NacosClientProperties properties) |
static String |
ParamUtil.parseNamespace(NacosClientProperties properties)
Parse namespace from properties and environment.
|
Copyright © 2018–2024 Alibaba Group. All rights reserved.