| Package | Description |
|---|---|
| ml.shifu.guagua.coordinator.zk |
This package contains zookeeper wrapper to talk with ZooKeeper servers.
|
| Modifier and Type | Method and Description |
|---|---|
GuaguaZooKeeper.PathStat |
GuaguaZooKeeper.createOnceExt(String path,
byte[] data,
List<org.apache.zookeeper.data.ACL> acl,
org.apache.zookeeper.CreateMode createMode,
boolean recursive)
Create a znode if there is no other znode there
|
GuaguaZooKeeper.PathStat |
GuaguaZooKeeper.createOrSetExt(String path,
byte[] data,
List<org.apache.zookeeper.data.ACL> acl,
org.apache.zookeeper.CreateMode createMode,
boolean recursive,
int version)
Create a znode.
|
Copyright © 2015. All Rights Reserved.