org.apache.zookeeper.client
Class ConnectStringParser
java.lang.Object
org.apache.zookeeper.client.ConnectStringParser
public final class ConnectStringParser
- extends Object
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:
ZooKeeper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectStringParser
public ConnectStringParser(String connectString)
- Throws:
IllegalArgumentException - for an invalid chroot path.
getChrootPath
public String getChrootPath()
getServerAddresses
public ArrayList<InetSocketAddress> getServerAddresses()
Copyright © 2013 The Apache Software Foundation