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, multi, multiInternal, multiInternal, register, setACL, setACL, setData, setData, sync, testableLocalSocketAddress, testableRemoteSocketAddress, testableWaitForShutdown, toString, transaction
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 class org.apache.zookeeper.ZooKeeper
InterruptedException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.