Skip to content

Commit

Permalink
zookeeper的四种类型的znode
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyong0804 committed Jul 20, 2019
1 parent b7088e0 commit 3e73352
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 12.1.3 zookeeper的四种类型的znode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#### 题目:zookeeper的四种类型的znode

#### 参考答案:

PERSISTENT 持久化节点

PERSISTENT_SEQUENTIAL 顺序自动编号持久化节点,这种节点会根据当前已存在的节点数自动加 1

EPHEMERAL 临时节点, 客户端session超时这类节点就会被自动删除

EPHEMERAL_SEQUENTIAL 临时自动编号节点

0 comments on commit 3e73352

Please sign in to comment.