public class SolrZooKeeper extends ZooKeeper
Constructor and Description |
---|
SolrZooKeeper(String connectString,
int sessionTimeout,
Watcher watcher) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
closeCnxn() |
ClientCnxn |
getConnection() |
SocketAddress |
getSocketAddress() |
public SolrZooKeeper(String connectString, int sessionTimeout, Watcher watcher) throws IOException
IOException
public ClientCnxn getConnection()
public SocketAddress getSocketAddress()
public void closeCnxn()
public void close() throws InterruptedException
InterruptedException