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, addWatch, addWatch, addWatch, addWatch, close, create, create, create, create, create, create, createConnection, defaultWatchManager, delete, delete, exists, exists, exists, exists, getACL, getACL, getAllChildrenNumber, getAllChildrenNumber, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildWatches, getClientConfig, getConfig, getConfig, getConfig, getConfig, getData, getData, getData, getData, getDataWatches, getEphemerals, getEphemerals, getEphemerals, getEphemerals, getExistWatches, getPersistentRecursiveWatches, getPersistentWatches, getSaslClient, getSessionId, getSessionPasswd, getSessionTimeout, getState, getTestable, multi, multi, multiInternal, multiInternal, 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.