public class ZKCacheServerLocator extends GenericNettyBrokerLocator
connectTimeout, socketTimeout| Constructor and Description |
|---|
ZKCacheServerLocator(String zkAddress,
int zkSessiontimeout,
String basePath) |
ZKCacheServerLocator(Supplier<org.apache.zookeeper.ZooKeeper> zk,
String basePath) |
| Modifier and Type | Method and Description |
|---|---|
void |
brokerDisconnected() |
void |
close() |
protected ServerHostData |
getServer() |
String |
toString() |
connect, getConnectTimeout, getSocketTimeout, setConnectTimeout, setSocketTimeoutpublic ZKCacheServerLocator(Supplier<org.apache.zookeeper.ZooKeeper> zk, String basePath) throws Exception
Exceptionpublic void brokerDisconnected()
protected ServerHostData getServer()
getServer in class GenericNettyBrokerLocatorpublic void close()
Copyright © 2016. All rights reserved.