public static class ZkDynamicConfig.Server extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
String |
address |
Integer |
clientPort |
String |
clientPortAddress |
Integer |
leaderElectionPort |
Integer |
leaderPort |
String |
role |
Integer |
serverId |
| 限定符和类型 | 方法和说明 |
|---|---|
static ZkDynamicConfig.Server |
parseLine(String line)
Parse a single zk config server line
|
String |
resolveClientPortAddress()
Resolve the most likely address, first trying 'clientPortAddress', falling back to 'address'
|
public final Integer serverId
public final String address
public final Integer leaderPort
public final Integer leaderElectionPort
public final String role
public final String clientPortAddress
public final Integer clientPort
public String resolveClientPortAddress()
public static ZkDynamicConfig.Server parseLine(String line)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.