| 程序包 | 说明 |
|---|---|
| com.alibaba.nacos.common.remote | |
| com.alibaba.nacos.common.remote.client | |
| com.alibaba.nacos.common.remote.client.grpc |
| 限定符和类型 | 方法和说明 |
|---|---|
static ConnectionType |
ConnectionType.getByType(String type) |
static ConnectionType |
ConnectionType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConnectionType[] |
ConnectionType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract ConnectionType |
RpcClient.getConnectionType()
get connection type of this client.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RpcClient |
RpcClientFactory.createClient(String clientName,
ConnectionType connectionType,
Integer threadPoolCoreSize,
Integer threadPoolMaxSize,
Map<String,String> labels) |
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)
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)
Creates an RPC client for cluster communication with custom thread pool settings.
|
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)
Creates an RPC client for cluster communication with default thread pool settings.
|
static RpcClient |
RpcClientFactory.createClusterClient(String clientName,
ConnectionType connectionType,
Map<String,String> labels,
RpcClientTlsConfig tlsConfig)
Creates an RPC client for cluster communication with TLS configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConnectionType |
GrpcClient.getConnectionType() |
Copyright © 2018–2024 Alibaba Group. All rights reserved.