类的使用
com.alibaba.nacos.common.remote.client.RpcClient
使用RpcClient的程序包
-
com.alibaba.nacos.common.remote.client中RpcClient的使用
修饰符和类型方法说明static RpcClientRpcClientFactory.createClient(String clientName, ConnectionType connectionType, GrpcClientConfig grpcClientConfig) create a rpc client.static RpcClientRpcClientFactory.createClient(String clientName, ConnectionType connectionType, Integer threadPoolCoreSize, Integer threadPoolMaxSize, Map<String, String> labels) static RpcClientRpcClientFactory.createClient(String clientName, ConnectionType connectionType, Integer threadPoolCoreSize, Integer threadPoolMaxSize, Map<String, String> labels, RpcClientTlsConfig tlsConfig) create a rpc client.static RpcClientRpcClientFactory.createClient(String clientName, ConnectionType connectionType, Map<String, String> labels) create a rpc client.static RpcClientRpcClientFactory.createClient(String clientName, ConnectionType connectionType, Map<String, String> labels, RpcClientTlsConfig tlsConfig) static RpcClientRpcClientFactory.createClient(String clientName, ConnectionType connectionType, Map<String, String> labels, Properties properties, RpcClientTlsConfig tlsConfig) create client with properties.static RpcClientRpcClientFactory.createClusterClient(String clientName, ConnectionType connectionType, GrpcClientConfig grpcClientConfig) create a cluster rpc client.static RpcClientRpcClientFactory.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 RpcClientRpcClientFactory.createClusterClient(String clientName, ConnectionType connectionType, Integer threadPoolCoreSize, Integer threadPoolMaxSize, Map<String, String> labels, RpcClientTlsConfig tlsConfig) createClusterClient.static RpcClientRpcClientFactory.createClusterClient(String clientName, ConnectionType connectionType, Map<String, String> labels) Creates an RPC client for cluster communication with default thread pool settings.static RpcClientRpcClientFactory.createClusterClient(String clientName, ConnectionType connectionType, Map<String, String> labels, RpcClientTlsConfig tlsConfig) Creates an RPC client for cluster communication with TLS configuration.static RpcClientRpcClient.serverListFactory(ServerListFactory serverListFactory) init server list factory. only can init once.返回变量类型为RpcClient的类型的com.alibaba.nacos.common.remote.client中的方法 -
com.alibaba.nacos.common.remote.client.grpc中RpcClient的使用
修饰符和类型类说明classgRPC Client.classgRPC client for cluster.classgRPC client for sdk.