Package org.apache.solr.common.cloud
Class ZkDynamicConfig.Server
- java.lang.Object
- 
- org.apache.solr.common.cloud.ZkDynamicConfig.Server
 
- 
- Enclosing class:
- ZkDynamicConfig
 
 public static class ZkDynamicConfig.Server extends Object Object representing one line in Zk dynamic config
- 
- 
Field SummaryFields Modifier and Type Field Description StringaddressIntegerclientPortStringclientPortAddressIntegerleaderElectionPortIntegerleaderPortStringroleIntegerserverId
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZkDynamicConfig.ServerparseLine(String line)Parse a single zk config server lineStringresolveClientPortAddress()Resolve the most likely address, first trying 'clientPortAddress', falling back to 'address'
 
- 
- 
- 
Field Detail- 
serverIdpublic final Integer serverId 
 - 
addresspublic final String address 
 - 
leaderPortpublic final Integer leaderPort 
 - 
leaderElectionPortpublic final Integer leaderElectionPort 
 - 
rolepublic final String role 
 - 
clientPortAddresspublic final String clientPortAddress 
 - 
clientPortpublic final Integer clientPort 
 
- 
 - 
Method Detail- 
resolveClientPortAddresspublic String resolveClientPortAddress() Resolve the most likely address, first trying 'clientPortAddress', falling back to 'address'- Returns:
- a string with client address, without port
 
 - 
parseLinepublic static ZkDynamicConfig.Server parseLine(String line) Parse a single zk config server line
 
- 
 
-