| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.net |
| 限定符和类型 | 方法和说明 |
|---|---|
static ClusterAddressParser.ClusterAddressStyle |
ClusterAddressParser.ClusterAddressStyle.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ClusterAddressParser.ClusterAddressStyle[] |
ClusterAddressParser.ClusterAddressStyle.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
ClusterAddressParser.normalize(List<NetworkAddress> addresses,
ClusterAddressParser.ClusterAddressStyle style)
转换为 host1:port1,host2:port2,host3:port3结构
|
String |
ClusterAddressParser.normalize(String s,
ClusterAddressParser.ClusterAddressStyle style) |
Copyright © 2020. All rights reserved.