public static class ZkDynamicConfig.Server extends Object
Modifier and Type | Field and Description |
---|---|
String |
address |
Integer |
clientPort |
String |
clientPortAddress |
Integer |
leaderElectionPort |
Integer |
leaderPort |
String |
role |
Integer |
serverId |
Modifier and Type | Method and Description |
---|---|
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 © 2000-2020 Apache Software Foundation. All Rights Reserved.