Enum Class的使用
com.alibaba.nacos.common.remote.ConnectionType
使用ConnectionType的程序包
程序包
说明
-
com.alibaba.nacos.common.remote中ConnectionType的使用
修饰符和类型方法说明static ConnectionTypestatic ConnectionTypeReturns the enum constant of this class with the specified name.static ConnectionType[]ConnectionType.values()Returns an array containing the constants of this enum class, in the order they are declared. -
com.alibaba.nacos.common.remote.client中ConnectionType的使用
修饰符和类型方法说明abstract ConnectionTypeRpcClient.getConnectionType()get connection type of this client.修饰符和类型方法说明static RpcClientRpcClientFactory.createClient(String clientName, ConnectionType connectionType, Map<String,String> labels)create a rpc client.static RpcClientRpcClientFactory.createClusterClient(String clientName, ConnectionType connectionType, Map<String,String> labels)create a rpc client. -
com.alibaba.nacos.common.remote.client.grpc中ConnectionType的使用