Skip to content

Commit 781fd22

Browse files
committed
[docs update]完善分布式锁的介绍
1 parent d904068 commit 781fd22

15 files changed

+440
-375
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,8 @@ JVM 这部分内容主要参考 [JVM 虚拟机规范-Java8 ](https://docs.oracle
358358

359359
### 分布式锁
360360

361-
[分布式锁常见知识点&面试题总结](https://javaguide.cn/distributed-system/distributed-lock.html)
361+
- [分布式锁介绍](https://javaguide.cn/distributed-system/distributed-lock.html)
362+
- [分布式锁常见实现方案总结](https://javaguide.cn/distributed-system/distributed-lock-implementations.html)
362363

363364
### 分布式事务
364365

docs/.vuepress/navbar.ts

+16-5
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,29 @@ import { navbar } from "vuepress-theme-hope";
22

33
export default navbar([
44
{ text: "面试指南", icon: "java", link: "/home.md" },
5-
{
6-
text: "知识星球",
7-
icon: "planet",
8-
link: "/about-the-author/zhishixingqiu-two-years.md",
9-
},
105
{ text: "开源项目", icon: "github", link: "/open-source-project/" },
116
{ text: "技术书籍", icon: "book", link: "/books/" },
127
{
138
text: "程序人生",
149
icon: "article",
1510
link: "/high-quality-technical-articles/",
1611
},
12+
{
13+
text: "知识星球",
14+
icon: "planet",
15+
children: [
16+
{
17+
text: "星球介绍",
18+
icon: "about",
19+
link: "/about-the-author/zhishixingqiu-two-years.md",
20+
},
21+
{
22+
text: "星球优质主题汇总",
23+
icon: "star",
24+
link: "https://www.yuque.com/snailclimb/rpkqw1/ncxpnfmlng08wlf1",
25+
},
26+
],
27+
},
1728
{
1829
text: "网站相关",
1930
icon: "about",

docs/.vuepress/sidebar/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ export default sidebar({
472472
{
473473
text: "分布式锁",
474474
icon: "lock",
475-
children: ["distributed-lock"],
475+
children: ["distributed-lock", "distributed-lock-implementations"],
476476
},
477477
{
478478
text: "RPC",

docs/distributed-system/distributed-lock-implementations.md

+366
Large diffs are not rendered by default.

docs/distributed-system/distributed-lock.md

+42-357
Large diffs are not rendered by default.

docs/distributed-system/images/distributed-lock/distributed-lock-redisson-renew-expiration.drawio

-1
This file was deleted.

docs/distributed-system/images/distributed-lock/distributed-lock-setnx.drawio

-1
This file was deleted.

docs/distributed-system/images/distributed-lock/distributed-lock-zookeeper.drawio

-1
This file was deleted.

docs/distributed-system/images/distributed-lock/distributed-lock.drawio

-1
This file was deleted.

docs/distributed-system/images/distributed-lock/jvm-local-lock.drawio

-1
This file was deleted.

0 commit comments

Comments
 (0)