Package org.apache.zookeeper.client
Class ConnectStringParser
java.lang.Object
org.apache.zookeeper.client.ConnectStringParser
A parser for ZooKeeper Client connect strings.
This class is not meant to be seen or used outside of ZooKeeper itself.
The chrootPath member should be replaced by a Path object in issue
ZOOKEEPER-849.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConnectStringParser
(String connectString) Parse host and port by spliting client connectString with support for IPv6 literals -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ConnectStringParser
Parse host and port by spliting client connectString with support for IPv6 literals- Throws:
IllegalArgumentException
- for an invalid chroot path.
-
-
Method Details
-
getChrootPath
-
getServerAddresses
-