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, close, create, create, create, create, create, create, createConnection, defaultWatchManager, delete, delete, exists, exists, exists, exists, getACL, getACL, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildWatches, getClientConfig, getConfig, getConfig, getConfig, getConfig, getData, getData, getData, getData, getDataWatches, getExistWatches, getSaslClient, getSessionId, getSessionPasswd, getSessionTimeout, getState, getTestable, internalReconfig, internalReconfig, internalReconfig, internalReconfig, multi, multi, multiInternal, multiInternal, reconfig, reconfig, reconfig, reconfig, register, removeAllWatches, removeAllWatches, removeWatches, removeWatches, setACL, setACL, setData, setData, sync, testableLocalSocketAddress, testableRemoteSocketAddress, testableWaitForShutdown, toString, transaction, updateServerListpublic 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 interface AutoCloseableclose in class org.apache.zookeeper.ZooKeeperInterruptedExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.