| 程序包 | 说明 |
|---|---|
| com.alibaba.nacos.common.remote.client | |
| com.alibaba.nacos.common.remote.client.grpc |
| 限定符和类型 | 方法和说明 |
|---|---|
RpcClientTlsConfig |
RpcClientTlsConfigFactory.createClusterConfig(Properties properties)
Create cluster client TLS config.
|
RpcClientTlsConfig |
RpcClientTlsConfigFactory.createSdkConfig(Properties properties)
Create SDK client TLS config.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RpcClient |
RpcClientFactory.createClient(String clientName,
ConnectionType connectionType,
Integer threadPoolCoreSize,
Integer threadPoolMaxSize,
Map<String,String> labels,
RpcClientTlsConfig tlsConfig)
create a rpc client.
|
static RpcClient |
RpcClientFactory.createClient(String clientName,
ConnectionType connectionType,
Map<String,String> labels,
Properties properties,
RpcClientTlsConfig tlsConfig)
create client with properties.
|
static RpcClient |
RpcClientFactory.createClient(String clientName,
ConnectionType connectionType,
Map<String,String> labels,
RpcClientTlsConfig tlsConfig) |
static RpcClient |
RpcClientFactory.createClusterClient(String clientName,
ConnectionType connectionType,
Integer threadPoolCoreSize,
Integer threadPoolMaxSize,
Map<String,String> labels,
RpcClientTlsConfig tlsConfig)
createClusterClient.
|
static RpcClient |
RpcClientFactory.createClusterClient(String clientName,
ConnectionType connectionType,
Map<String,String> labels,
RpcClientTlsConfig tlsConfig)
Creates an RPC client for cluster communication with TLS configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DefaultGrpcClientConfig.Builder |
DefaultGrpcClientConfig.Builder.fromProperties(Properties properties,
RpcClientTlsConfig tlsConfig)
Set config from properties.
|
void |
DefaultGrpcClientConfig.setTlsConfig(RpcClientTlsConfig tlsConfig) |
DefaultGrpcClientConfig.Builder |
DefaultGrpcClientConfig.Builder.setTlsConfig(RpcClientTlsConfig tlsConfig)
set tlsConfig.
|
void |
GrpcClientConfig.setTlsConfig(RpcClientTlsConfig tlsConfig)
Set TlsConfig.
|
| 构造器和说明 |
|---|
GrpcClient(String name,
Integer threadPoolCoreSize,
Integer threadPoolMaxSize,
Map<String,String> labels,
RpcClientTlsConfig tlsConfig) |
GrpcClusterClient(String name,
Integer threadPoolCoreSize,
Integer threadPoolMaxSize,
Map<String,String> labels,
RpcClientTlsConfig tlsConfig) |
GrpcSdkClient(String name,
Integer threadPoolCoreSize,
Integer threadPoolMaxSize,
Map<String,String> labels,
RpcClientTlsConfig tlsConfig) |
Copyright © 2018–2024 Alibaba Group. All rights reserved.