public class ZookeeperDataSource<T> extends AbstractDataSource<String,T>
DataSource with ZooKeeper backend.parser, property| Constructor and Description |
|---|
ZookeeperDataSource(String serverAddr,
List<org.apache.curator.framework.AuthInfo> authInfos,
String groupId,
String dataId,
Converter<String,T> parser)
This constructor adds authentication information.
|
ZookeeperDataSource(String serverAddr,
String path,
Converter<String,T> parser) |
ZookeeperDataSource(String serverAddr,
String groupId,
String dataId,
Converter<String,T> parser)
This constructor is Nacos-style.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected org.apache.curator.framework.CuratorFramework |
getZkClient() |
String |
readSource() |
getProperty, loadConfig, loadConfigCopyright © 2021 Alibaba Group. All rights reserved.