public class SolrZooKeeper
extends org.apache.zookeeper.ZooKeeper
| Constructor and Description |
|---|
SolrZooKeeper(String connectString,
int sessionTimeout,
org.apache.zookeeper.Watcher watcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeCnxn() |
org.apache.zookeeper.ClientCnxn |
getConnection() |
SocketAddress |
getSocketAddress() |
addAuthInfo, create, create, delete, delete, exists, exists, exists, exists, getACL, getACL, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getData, getData, getData, getData, getSaslClient, getSessionId, getSessionPasswd, getSessionTimeout, getState, multi, multiInternal, register, setACL, setACL, setData, setData, sync, testableLocalSocketAddress, testableRemoteSocketAddress, testableWaitForShutdown, toString, transactionpublic SolrZooKeeper(String connectString, int sessionTimeout, org.apache.zookeeper.Watcher watcher) throws IOException
IOExceptionpublic org.apache.zookeeper.ClientCnxn getConnection()
public SocketAddress getSocketAddress()
public void closeCnxn()
public void close()
throws InterruptedException
close in class org.apache.zookeeper.ZooKeeperInterruptedExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.