Package org.apache.solr.common.cloud
Class ZkDynamicConfig.Server
java.lang.Object
org.apache.solr.common.cloud.ZkDynamicConfig.Server
- Enclosing class:
ZkDynamicConfig
Object representing one line in Zk dynamic config
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ZkDynamicConfig.ServerParse a single zk config server lineResolve the most likely address, first trying 'clientPortAddress', falling back to 'address'
-
Field Details
-
serverId
-
address
-
leaderPort
-
leaderElectionPort
-
role
-
clientPortAddress
-
clientPort
-
-
Method Details
-
resolveClientPortAddress
Resolve the most likely address, first trying 'clientPortAddress', falling back to 'address'- Returns:
- a string with client address, without port
-
parseLine
Parse a single zk config server line
-