首页 > 其他 > 详细

Zookeeper-程序开发

时间:2019-12-17 15:44:30      阅读:95      评论:0      收藏:0      [点我收藏+]

The ZooKeeper Data Model 数据模型

  ZooKeeper有一个层次的命名空间,很像一个分布式文件系统。惟一的区别是命名空间中的每个节点都可以有数据和与其关联的子节点。这就像一个文件系统允许一个文件同时也是一个目录。路径是绝对的不能是相对的。

  路径规则(不可包含以下类型的unicode字符):

    * The null character (\u0000) cannot be part of a path name.

    * The following characters can‘t be used because they don‘t display well, or render (呈现) in confusing ways ( 令人困惑的方式 ): \u0001 - \u001F and \u007F

    * \u009F.

    * The following characters are not allowed: \ud800 - uF8FF, \uFFF0 - uFFFF.

    * The "." character can be used as part of another name, but "." and ".." cannot alone be used to indicate a node along a path ( 不能单独使用 ), because ZooKeeper doesn‘t use relative paths. The following would be invalid: "/a/b/./c" or "/a/b/../c".

    * The token "zookeeper" is reserved ( 保留 ).

  

  

Zookeeper-程序开发

原文:https://www.cnblogs.com/BINGJJFLY/p/12054752.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!