org.apache.solr.common.cloud
Class ZkClientConnectionStrategy

java.lang.Object
  extended by org.apache.solr.common.cloud.ZkClientConnectionStrategy
Direct Known Subclasses:
DefaultConnectionStrategy

public abstract class ZkClientConnectionStrategy
extends Object


Nested Class Summary
static class ZkClientConnectionStrategy.ZkUpdate
           
 
Constructor Summary
ZkClientConnectionStrategy()
           
 
Method Summary
abstract  void connect(String zkServerAddress, int zkClientTimeout, org.apache.zookeeper.Watcher watcher, ZkClientConnectionStrategy.ZkUpdate updater)
           
abstract  void reconnect(String serverAddress, int zkClientTimeout, org.apache.zookeeper.Watcher watcher, ZkClientConnectionStrategy.ZkUpdate updater)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZkClientConnectionStrategy

public ZkClientConnectionStrategy()
Method Detail

connect

public abstract void connect(String zkServerAddress,
                             int zkClientTimeout,
                             org.apache.zookeeper.Watcher watcher,
                             ZkClientConnectionStrategy.ZkUpdate updater)
                      throws IOException,
                             InterruptedException,
                             TimeoutException
Throws:
IOException
InterruptedException
TimeoutException

reconnect

public abstract void reconnect(String serverAddress,
                               int zkClientTimeout,
                               org.apache.zookeeper.Watcher watcher,
                               ZkClientConnectionStrategy.ZkUpdate updater)
                        throws IOException,
                               InterruptedException,
                               TimeoutException
Throws:
IOException
InterruptedException
TimeoutException


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.