public class DefaultConnectionStrategy extends ZkClientConnectionStrategy
ZkClientConnectionStrategy.ConnectedListener, ZkClientConnectionStrategy.DisconnectedListener, ZkClientConnectionStrategy.ZkUpdate| Constructor and Description | 
|---|
| DefaultConnectionStrategy() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | connect(String serverAddress,
       int timeout,
       org.apache.zookeeper.Watcher watcher,
       ZkClientConnectionStrategy.ZkUpdate updater) | 
| void | reconnect(String serverAddress,
         int zkClientTimeout,
         org.apache.zookeeper.Watcher watcher,
         ZkClientConnectionStrategy.ZkUpdate updater) | 
addConnectedListener, addDisconnectedListener, connected, createSolrZooKeeper, disconnected, getZkCredentialsToAddAutomatically, hasZkCredentialsToAddAutomatically, setZkCredentialsToAddAutomaticallypublic void connect(String serverAddress, int timeout, org.apache.zookeeper.Watcher watcher, ZkClientConnectionStrategy.ZkUpdate updater) throws IOException, InterruptedException, TimeoutException
connect in class ZkClientConnectionStrategyIOExceptionInterruptedExceptionTimeoutExceptionpublic void reconnect(String serverAddress, int zkClientTimeout, org.apache.zookeeper.Watcher watcher, ZkClientConnectionStrategy.ZkUpdate updater) throws IOException
reconnect in class ZkClientConnectionStrategyIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.