类的使用
com.alibaba.nacos.common.remote.client.RpcClientTlsConfig
使用RpcClientTlsConfig的程序包
-
com.alibaba.nacos.common.remote.client中RpcClientTlsConfig的使用
修饰符和类型方法说明RpcClientTlsConfigFactory.createClusterConfig(Properties properties) Create cluster client TLS config.RpcClientTlsConfigFactory.createSdkConfig(Properties properties) Create SDK client TLS config.修饰符和类型方法说明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, 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, Integer threadPoolCoreSize, Integer threadPoolMaxSize, Map<String, String> labels, RpcClientTlsConfig tlsConfig) createClusterClient.static RpcClientRpcClientFactory.createClusterClient(String clientName, ConnectionType connectionType, Map<String, String> labels, RpcClientTlsConfig tlsConfig) Creates an RPC client for cluster communication with TLS configuration. -
com.alibaba.nacos.common.remote.client.grpc中RpcClientTlsConfig的使用
修饰符和类型方法说明DefaultGrpcClientConfig.Builder.fromProperties(Properties properties, RpcClientTlsConfig tlsConfig) Set config from properties.DefaultGrpcClientConfig.Builder.setTlsConfig(RpcClientTlsConfig tlsConfig) set tlsConfig.voidDefaultGrpcClientConfig.setTlsConfig(RpcClientTlsConfig tlsConfig) voidGrpcClientConfig.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)