9899100101102103104105106107108
for (String childName : childNames) { String childPath = path + "/" + childName; if (!znode.hasChild(childName)) { znode.addChild(childName); updateRecursive(childPath); } } } }
4647484950515253545556
public void addToParentChildSet(String parentPath, String childName) { ZNode znode = _cache.get(parentPath); if (znode != null) { znode.addChild(childName); } } public void addToParentChildSet(String parentPath, List<String> childNames) {