public class ZooKeeperTest extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
ZooKeeperTest.IpArrays |
| 构造器和说明 |
|---|
ZooKeeperTest(org.apache.curator.framework.CuratorFramework client) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends Enum<T> & ZooKeeperTest.IpArrays> |
addCfgFile2LatentIoNode(String prefixNodeName,
T env,
String[] cfgFiles)
上传配置文件到ZooKeeper上
|
static void |
main(String[] args) |
public <T extends Enum<T> & ZooKeeperTest.IpArrays> void addCfgFile2LatentIoNode(String prefixNodeName, T env, String[] cfgFiles)
prefixNodeName - 节点前缀名env - 在哪个环境下才上传数据cfgFiles - 上传数据额配置文件public static void main(String[] args)
Copyright © 2016. All rights reserved.