org.apache.solr.common.cloud
public abstract class ZkClientConnectionStrategy extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ZkClientConnectionStrategy.ConnectedListener |
static interface |
ZkClientConnectionStrategy.DisconnectedListener |
static class |
ZkClientConnectionStrategy.ZkUpdate |
Constructor and Description |
---|
ZkClientConnectionStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
addConnectedListener(ZkClientConnectionStrategy.ConnectedListener listener) |
void |
addDisconnectedListener(ZkClientConnectionStrategy.DisconnectedListener listener) |
abstract void |
connect(String zkServerAddress,
int zkClientTimeout,
org.apache.zookeeper.Watcher watcher,
ZkClientConnectionStrategy.ZkUpdate updater) |
void |
connected() |
void |
disconnected() |
abstract void |
reconnect(String serverAddress,
int zkClientTimeout,
org.apache.zookeeper.Watcher watcher,
ZkClientConnectionStrategy.ZkUpdate updater) |
public abstract void connect(String zkServerAddress, int zkClientTimeout, org.apache.zookeeper.Watcher watcher, ZkClientConnectionStrategy.ZkUpdate updater) throws IOException, InterruptedException, TimeoutException
public abstract void reconnect(String serverAddress, int zkClientTimeout, org.apache.zookeeper.Watcher watcher, ZkClientConnectionStrategy.ZkUpdate updater) throws IOException, InterruptedException, TimeoutException
public void disconnected()
public void connected()
public void addDisconnectedListener(ZkClientConnectionStrategy.DisconnectedListener listener)
public void addConnectedListener(ZkClientConnectionStrategy.ConnectedListener listener)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.