forked from 0voice/interview_internal_reference
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7088e0
commit 3e73352
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#### 题目:zookeeper的四种类型的znode | ||
|
||
#### 参考答案: | ||
|
||
PERSISTENT 持久化节点 | ||
|
||
PERSISTENT_SEQUENTIAL 顺序自动编号持久化节点,这种节点会根据当前已存在的节点数自动加 1 | ||
|
||
EPHEMERAL 临时节点, 客户端session超时这类节点就会被自动删除 | ||
|
||
EPHEMERAL_SEQUENTIAL 临时自动编号节点 |