From 3389cbf7061be9be897e2a8abf228ea2074b6c45 Mon Sep 17 00:00:00 2001 From: QueryLI <462551882@qq.com> Date: Thu, 13 Jun 2019 17:42:43 +0800 Subject: [PATCH 1/7] Revert "Update JavaConcurrencyAdvancedCommonInterviewQuestions.md" This reverts commit 8af50f39a41cb73d2549a91b009ca11598991164. --- .../JavaConcurrencyAdvancedCommonInterviewQuestions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/java/Multithread/JavaConcurrencyAdvancedCommonInterviewQuestions.md b/docs/java/Multithread/JavaConcurrencyAdvancedCommonInterviewQuestions.md index ba1869d0b98..b994e722303 100644 --- a/docs/java/Multithread/JavaConcurrencyAdvancedCommonInterviewQuestions.md +++ b/docs/java/Multithread/JavaConcurrencyAdvancedCommonInterviewQuestions.md @@ -204,7 +204,7 @@ synchronized 是依赖于 JVM 实现的,前面我们也讲到了 虚拟机团 再举个简单的例子: -比如有两个人去宝屋收集宝物,这两个共用一个袋子的话肯定会产生争执,但是给他们两个人每个人分配一个袋子的话就不会出现这样的问题。如果把这两个人比作线程的话,那么ThreadLocal就是用来避免这两个线程竞争的。 +比如有两个人去宝屋收集宝物,这两个共用一个袋子的话肯定会产生争执,但是给他们两个人每个人分配一个袋子的话就不会出现这样的问题。如果把这两个人比作线程的话,那么ThreadLocal就是用来这两个线程竞争的。 ### 3.2. ThreadLocal示例 From 24a06b3c1e298ef9ac2bea0d383656657b61ea2c Mon Sep 17 00:00:00 2001 From: QueryLI <462551882@qq.com> Date: Thu, 13 Jun 2019 17:43:15 +0800 Subject: [PATCH 2/7] =?UTF-8?q?Revert=20"Update=20=E4=BA=8B=E5=8A=A1?= =?UTF-8?q?=E9=9A=94=E7=A6=BB=E7=BA=A7=E5=88=AB(=E5=9B=BE=E6=96=87?= =?UTF-8?q?=E8=AF=A6=E8=A7=A3).md"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a00c739c38aa436210ca78225b8ca60815d766af. --- ...253(\345\233\276\346\226\207\350\257\246\350\247\243).md" | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git "a/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" "b/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" index 1e6f5816b74..4cd950d5357 100644 --- "a/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" +++ "b/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" @@ -26,8 +26,9 @@ ### 事物的特性(ACID) -![事物的特性](https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-6/事务特性.png) - +
+ +
1. **原子性:** 事务是最小的执行单位,不允许分割。事务的原子性确保动作要么全部完成,要么完全不起作用; 2. **一致性:** 执行事务前后,数据保持一致,多个事务对同一个数据读取的结果是相同的; From 78a712d7403ea9b3fff7be8135ccc7c1ccf1844c Mon Sep 17 00:00:00 2001 From: QueryLI <462551882@qq.com> Date: Thu, 13 Jun 2019 17:44:08 +0800 Subject: [PATCH 3/7] =?UTF-8?q?Revert=20"Revert=20"Update=20=E4=BA=8B?= =?UTF-8?q?=E5=8A=A1=E9=9A=94=E7=A6=BB=E7=BA=A7=E5=88=AB(=E5=9B=BE?= =?UTF-8?q?=E6=96=87=E8=AF=A6=E8=A7=A3).md""?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 24a06b3c1e298ef9ac2bea0d383656657b61ea2c. --- ...253(\345\233\276\346\226\207\350\257\246\350\247\243).md" | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git "a/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" "b/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" index 4cd950d5357..1e6f5816b74 100644 --- "a/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" +++ "b/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" @@ -26,9 +26,8 @@ ### 事物的特性(ACID) -
- -
+![事物的特性](https://my-blog-to-use.oss-cn-beijing.aliyuncs.com/2019-6/事务特性.png) + 1. **原子性:** 事务是最小的执行单位,不允许分割。事务的原子性确保动作要么全部完成,要么完全不起作用; 2. **一致性:** 执行事务前后,数据保持一致,多个事务对同一个数据读取的结果是相同的; From 31d86cdfe5a89163a41ed608646f61f0ae99eddc Mon Sep 17 00:00:00 2001 From: QueryLI <462551882@qq.com> Date: Thu, 13 Jun 2019 17:46:08 +0800 Subject: [PATCH 4/7] test testing --- ...(\345\233\276\346\226\207\350\257\246\350\247\243).md" | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git "a/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" "b/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" index 1e6f5816b74..492c4b68166 100644 --- "a/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" +++ "b/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" @@ -1,3 +1,11 @@ + +tesing........................... +tesing........................... +tesing........................... +tesing........................... +tesing........................... +tesing........................... +tesing........................... > 本文由 [SnailClimb](https://github.com/Snailclimb) 和 [BugSpeak](https://github.com/BugSpeak) 共同完成。 From ed664c06f494be1aaf27166ecd09b42f86ab06fd Mon Sep 17 00:00:00 2001 From: QueryLI <462551882@qq.com> Date: Thu, 13 Jun 2019 17:47:09 +0800 Subject: [PATCH 5/7] Revert "Update README.md" This reverts commit f771f27163414ef0debc4d030745aaee4831c837. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e13416b96c4..12ea60d3efa 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@

-推荐使用 https://snailclimb.top/JavaGuide/ 在线阅读(访问速度慢的话,请使用 https://snailclimb.gitee.io/javaguide ),在线阅读内容本仓库同步一致。这种方式阅读的优势在于:有侧边栏阅读体验更好,Gitee pages 的访问速度相对来说也比较快。 +推荐使用 https://snailclimb.top/JavaGuide/ 在线阅读(访问速度慢的话,请使用 https://snailclimb.gitee.io/javaguide),在线阅读内容本仓库同步一致。这种方式阅读的优势在于:有侧边栏阅读体验更好,Gitee pages 的访问速度相对来说也比较快。 ## 目录 From 47f78c73024fa3902d4b355d9fbfff7dc2cce9a3 Mon Sep 17 00:00:00 2001 From: QueryLI <462551882@qq.com> Date: Thu, 13 Jun 2019 17:49:42 +0800 Subject: [PATCH 6/7] Revert "Revert "Update README.md"" This reverts commit ed664c06f494be1aaf27166ecd09b42f86ab06fd. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 12ea60d3efa..e13416b96c4 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@

-推荐使用 https://snailclimb.top/JavaGuide/ 在线阅读(访问速度慢的话,请使用 https://snailclimb.gitee.io/javaguide),在线阅读内容本仓库同步一致。这种方式阅读的优势在于:有侧边栏阅读体验更好,Gitee pages 的访问速度相对来说也比较快。 +推荐使用 https://snailclimb.top/JavaGuide/ 在线阅读(访问速度慢的话,请使用 https://snailclimb.gitee.io/javaguide ),在线阅读内容本仓库同步一致。这种方式阅读的优势在于:有侧边栏阅读体验更好,Gitee pages 的访问速度相对来说也比较快。 ## 目录 From 0f582b6f6f7482163bef9641da359b7747ac8302 Mon Sep 17 00:00:00 2001 From: QueryLI <462551882@qq.com> Date: Thu, 13 Jun 2019 17:49:53 +0800 Subject: [PATCH 7/7] Revert "test" This reverts commit 31d86cdfe5a89163a41ed608646f61f0ae99eddc. --- ...(\345\233\276\346\226\207\350\257\246\350\247\243).md" | 8 -------- 1 file changed, 8 deletions(-) diff --git "a/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" "b/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" index 492c4b68166..1e6f5816b74 100644 --- "a/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" +++ "b/docs/database/\344\272\213\345\212\241\351\232\224\347\246\273\347\272\247\345\210\253(\345\233\276\346\226\207\350\257\246\350\247\243).md" @@ -1,11 +1,3 @@ - -tesing........................... -tesing........................... -tesing........................... -tesing........................... -tesing........................... -tesing........................... -tesing........................... > 本文由 [SnailClimb](https://github.com/Snailclimb) 和 [BugSpeak](https://github.com/BugSpeak) 共同完成。