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, updateServerList
public SolrZooKeeper(String connectString, int sessionTimeout, org.apache.zookeeper.Watcher watcher) throws IOException
IOException
public org.apache.zookeeper.ClientCnxn getConnection()
public SocketAddress getSocketAddress()
public void closeCnxn()
public void close() throws InterruptedException
close
in interface AutoCloseable
close
in class org.apache.zookeeper.ZooKeeper
InterruptedException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.