Browse Source

Deploy izhixing/izhixing.github.io to github.com/izhixing/izhixing.github.io.git:master

zhixing (from Travis CI) 4 years ago
parent
commit
55884c506a
100 changed files with 9505 additions and 1100 deletions
  1. 4 4
      archives/2018/02/index.html
  2. 4 4
      archives/2018/05/index.html
  3. 4 4
      archives/2018/index.html
  4. 4 4
      archives/2019/03/index.html
  5. 4 4
      archives/2019/04/index.html
  6. 4 4
      archives/2019/05/index.html
  7. 4 4
      archives/2019/06/index.html
  8. 4 4
      archives/2019/10/index.html
  9. 4 4
      archives/2019/index.html
  10. 4 4
      archives/2019/page/2/index.html
  11. 4 4
      archives/2020/01/index.html
  12. 4 4
      archives/2020/index.html
  13. 4 4
      archives/2021/03/index.html
  14. 4 4
      archives/2021/03/page/2/index.html
  15. 57 54
      archives/2021/04/index.html
  16. 602 0
      archives/2021/04/page/2/index.html
  17. 54 54
      archives/2021/index.html
  18. 54 54
      archives/2021/page/2/index.html
  19. 164 4
      archives/2021/page/3/index.html
  20. 55 55
      archives/index.html
  21. 55 55
      archives/page/2/index.html
  22. 53 59
      archives/page/3/index.html
  23. 103 43
      archives/page/4/index.html
  24. 545 0
      archives/page/5/index.html
  25. 23 3
      categories/Docker/index.html
  26. 43 3
      categories/Java/index.html
  27. 479 0
      categories/Java/多线程/index.html
  28. 3 3
      categories/Java/框架/MyBatis/index.html
  29. 459 0
      categories/Java/框架/Spring/index.html
  30. 23 3
      categories/Java/框架/index.html
  31. 3 3
      categories/Linux/index.html
  32. 3 3
      categories/MySQL/index.html
  33. 3 3
      categories/Nginx/index.html
  34. 3 3
      categories/Redis/index.html
  35. 5 5
      categories/index.html
  36. 459 0
      categories/分布式/index.html
  37. 519 0
      categories/多线程/index.html
  38. 3 3
      categories/学习/index.html
  39. 3 3
      categories/学习/记忆/index.html
  40. 3 3
      categories/工具/index.html
  41. 3 3
      categories/工具/scoop/index.html
  42. 3 3
      categories/工具/开发工具/Conda/index.html
  43. 3 3
      categories/工具/开发工具/Git/index.html
  44. 3 3
      categories/工具/开发工具/Gogs/index.html
  45. 3 3
      categories/工具/开发工具/IDEA/index.html
  46. 3 3
      categories/工具/开发工具/index.html
  47. 3 3
      categories/操作系统/index.html
  48. 3 3
      categories/数学/index.html
  49. 3 3
      categories/数据库/index.html
  50. 3 3
      categories/数据结构/index.html
  51. 3 3
      categories/日志/index.html
  52. 3 3
      categories/有趣/index.html
  53. 3 3
      categories/有趣/刷机/index.html
  54. 3 3
      categories/架构师/index.html
  55. 104 156
      index.html
  56. 112 85
      page/2/index.html
  57. 93 104
      page/3/index.html
  58. 363 69
      page/4/index.html
  59. 890 0
      page/5/index.html
  60. 5 5
      posts/11188dee.html
  61. 5 5
      posts/12626135.html
  62. 5 5
      posts/1eb05570.html
  63. 5 5
      posts/201dbebe.html
  64. 12 6
      posts/2871eb40.html
  65. 5 5
      posts/35b60266.html
  66. 5 5
      posts/35e905e4.html
  67. 5 5
      posts/36fb1fe.html
  68. 5 5
      posts/3d0562c8.html
  69. 5 5
      posts/40124174.html
  70. 591 0
      posts/44e8cd7.html
  71. 5 5
      posts/4c0b6fc5.html
  72. 5 5
      posts/4eef1a76.html
  73. 5 5
      posts/55e0da5c.html
  74. 5 5
      posts/5874180.html
  75. 5 5
      posts/5d007e64.html
  76. 548 0
      posts/6117b918.html
  77. 547 0
      posts/7ae49b47.html
  78. 5 5
      posts/7b35ed44.html
  79. 5 5
      posts/84bf135c.html
  80. 5 5
      posts/87daa986.html
  81. 5 5
      posts/9589c4d2.html
  82. 557 0
      posts/9a65c93a.html
  83. 5 5
      posts/a7ec3638.html
  84. 5 5
      posts/ab6871d9.html
  85. 5 5
      posts/b0269417.html
  86. 5 5
      posts/b1bd9b76.html
  87. 5 5
      posts/b4c6dbe7.html
  88. 5 5
      posts/b9577586.html
  89. 5 5
      posts/bdb89eee.html
  90. 540 0
      posts/c3329247.html
  91. 5 5
      posts/c3592b96.html
  92. 5 5
      posts/c62f803c.html
  93. 19 6
      posts/c6b69b48.html
  94. 5 5
      posts/c80e1ec8.html
  95. 545 0
      posts/ce090114.html
  96. 550 0
      posts/ce4f4d1f.html
  97. 5 5
      posts/d1f7f56f.html
  98. 5 5
      posts/daf2aad3.html
  99. 5 5
      posts/e0bb8399.html
  100. 5 5
      posts/e38e4cbe.html

+ 4 - 4
archives/2018/02/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2018/05/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2018/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2019/03/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2019/04/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2019/05/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2019/06/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2019/10/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2019/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2019/page/2/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2020/01/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2020/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2021/03/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 4 - 4
archives/2021/03/page/2/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       

+ 57 - 54
archives/2021/04/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       
@@ -282,15 +282,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-05T21:13:26+08:00"
-              content="2021-04-05">
-          04-05
+              datetime="2021-04-06T22:37:06+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/c6b69b48.html" itemprop="url">
-            <span itemprop="name">线程和线程池的关闭</span>
+          <a class="post-title-link" href="/posts/ce090114.html" itemprop="url">
+            <span itemprop="name">微服务的启动</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -302,15 +302,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-05T15:13:37+08:00"
-              content="2021-04-05">
-          04-05
+              datetime="2021-04-06T22:20:54+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/2871eb40.html" itemprop="url">
-            <span itemprop="name">String、StringBuilder和StringBuffer</span>
+          <a class="post-title-link" href="/posts/6117b918.html" itemprop="url">
+            <span itemprop="name">线程间的互斥和同步</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -322,15 +322,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-04T17:29:58+08:00"
-              content="2021-04-04">
-          04-04
+              datetime="2021-04-06T22:17:07+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/12626135.html" itemprop="url">
-            <span itemprop="name">双向链表和双向循环链表</span>
+          <a class="post-title-link" href="/posts/c3329247.html" itemprop="url">
+            <span itemprop="name">临界段</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -342,15 +342,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-04T16:32:14+08:00"
-              content="2021-04-04">
-          04-04
+              datetime="2021-04-06T22:14:18+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/c80e1ec8.html" itemprop="url">
-            <span itemprop="name">Java基本数据类型</span>
+          <a class="post-title-link" href="/posts/f6f32af4.html" itemprop="url">
+            <span itemprop="name">注解@Autowired和@Resource区别</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -362,15 +362,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T22:32:18+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T22:11:55+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/daf2aad3.html" itemprop="url">
-            <span itemprop="name">MyBatis的占位符</span>
+          <a class="post-title-link" href="/posts/44e8cd7.html" itemprop="url">
+            <span itemprop="name">进程间的通信方式</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -382,15 +382,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T22:31:18+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T16:11:00+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/201dbebe.html" itemprop="url">
-            <span itemprop="name">MyBatis缓存机制</span>
+          <a class="post-title-link" href="/posts/ce4f4d1f.html" itemprop="url">
+            <span itemprop="name">CAS操作和ABA问题</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -402,15 +402,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T09:38:02+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T15:56:26+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/36fb1fe.html" itemprop="url">
-            <span itemprop="name">Git常见使用问题</span>
+          <a class="post-title-link" href="/posts/7ae49b47.html" itemprop="url">
+            <span itemprop="name">CAP理论和BASE理论</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -422,15 +422,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T07:07:20+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T15:42:43+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/b4c6dbe7.html" itemprop="url">
-            <span itemprop="name">Windows下的包管理工具scoop</span>
+          <a class="post-title-link" href="/posts/9a65c93a.html" itemprop="url">
+            <span itemprop="name">wait()和sleep()方法的区别</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -442,15 +442,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-02T16:27:30+08:00"
-              content="2021-04-02">
-          04-02
+              datetime="2021-04-05T21:13:26+08:00"
+              content="2021-04-05">
+          04-05
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/11188dee.html" itemprop="url">
-            <span itemprop="name">事务操作和事务自动提交</span>
+          <a class="post-title-link" href="/posts/c6b69b48.html" itemprop="url">
+            <span itemprop="name">线程和线程池的关闭</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -462,15 +462,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-02T15:40:13+08:00"
-              content="2021-04-02">
-          04-02
+              datetime="2021-04-05T15:13:37+08:00"
+              content="2021-04-05">
+          04-05
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/5874180.html" itemprop="url">
-            <span itemprop="name">数据库事务</span>
+          <a class="post-title-link" href="/posts/2871eb40.html" itemprop="url">
+            <span itemprop="name">String、StringBuilder和StringBuffer</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -484,6 +484,9 @@
   
   
   
   
   
   
+  <nav class="pagination">
+    <span class="page-number current">1</span><a class="page-number" href="/archives/2021/04/page/2/">2</a><a class="extend next" rel="next" href="/archives/2021/04/page/2/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
+  </nav>
 
 
 
 
 <script>
 <script>

+ 602 - 0
archives/2021/04/page/2/index.html

@@ -0,0 +1,602 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:type" content="website">
+<meta property="og:title" content="知行">
+<meta property="og:url" content="https://blog.izhixing.icu/archives/2021/04/page/2/index.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:author" content="知行">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/archives/2021/04/page/2/">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : false,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>归档 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-overview-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner archive posts-collapse">
+
+
+  
+  
+  
+  <div class="post-block">
+    <div class="post-content">
+      <div class="collection-title">
+        
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
+      </div>
+
+      
+    <div class="collection-year">
+      <span class="collection-header">2021</span>
+    </div>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-04T17:29:58+08:00"
+              content="2021-04-04">
+          04-04
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/12626135.html" itemprop="url">
+            <span itemprop="name">双向链表和双向循环链表</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-04T16:32:14+08:00"
+              content="2021-04-04">
+          04-04
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/c80e1ec8.html" itemprop="url">
+            <span itemprop="name">Java基本数据类型</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-03T22:32:18+08:00"
+              content="2021-04-03">
+          04-03
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/daf2aad3.html" itemprop="url">
+            <span itemprop="name">MyBatis的占位符</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-03T22:31:18+08:00"
+              content="2021-04-03">
+          04-03
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/201dbebe.html" itemprop="url">
+            <span itemprop="name">MyBatis缓存机制</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-03T09:38:02+08:00"
+              content="2021-04-03">
+          04-03
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/36fb1fe.html" itemprop="url">
+            <span itemprop="name">Git常见使用问题</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-03T07:07:20+08:00"
+              content="2021-04-03">
+          04-03
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/b4c6dbe7.html" itemprop="url">
+            <span itemprop="name">Windows下的包管理工具scoop</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-02T16:27:30+08:00"
+              content="2021-04-02">
+          04-02
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/11188dee.html" itemprop="url">
+            <span itemprop="name">事务操作和事务自动提交</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-02T15:40:13+08:00"
+              content="2021-04-02">
+          04-02
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/5874180.html" itemprop="url">
+            <span itemprop="name">数据库事务</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+
+    </div>
+  </div>
+  
+  
+  
+  <nav class="pagination">
+    <a class="extend prev" rel="prev" href="/archives/2021/04/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/archives/2021/04/">1</a><span class="page-number current">2</span>
+  </nav>
+
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+
+</body>
+</html>

+ 54 - 54
archives/2021/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       
@@ -282,15 +282,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-05T21:13:26+08:00"
-              content="2021-04-05">
-          04-05
+              datetime="2021-04-06T22:37:06+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/c6b69b48.html" itemprop="url">
-            <span itemprop="name">线程和线程池的关闭</span>
+          <a class="post-title-link" href="/posts/ce090114.html" itemprop="url">
+            <span itemprop="name">微服务的启动</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -302,15 +302,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-05T15:13:37+08:00"
-              content="2021-04-05">
-          04-05
+              datetime="2021-04-06T22:20:54+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/2871eb40.html" itemprop="url">
-            <span itemprop="name">String、StringBuilder和StringBuffer</span>
+          <a class="post-title-link" href="/posts/6117b918.html" itemprop="url">
+            <span itemprop="name">线程间的互斥和同步</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -322,15 +322,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-04T17:29:58+08:00"
-              content="2021-04-04">
-          04-04
+              datetime="2021-04-06T22:17:07+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/12626135.html" itemprop="url">
-            <span itemprop="name">双向链表和双向循环链表</span>
+          <a class="post-title-link" href="/posts/c3329247.html" itemprop="url">
+            <span itemprop="name">临界段</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -342,15 +342,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-04T16:32:14+08:00"
-              content="2021-04-04">
-          04-04
+              datetime="2021-04-06T22:14:18+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/c80e1ec8.html" itemprop="url">
-            <span itemprop="name">Java基本数据类型</span>
+          <a class="post-title-link" href="/posts/f6f32af4.html" itemprop="url">
+            <span itemprop="name">注解@Autowired和@Resource区别</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -362,15 +362,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T22:32:18+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T22:11:55+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/daf2aad3.html" itemprop="url">
-            <span itemprop="name">MyBatis的占位符</span>
+          <a class="post-title-link" href="/posts/44e8cd7.html" itemprop="url">
+            <span itemprop="name">进程间的通信方式</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -382,15 +382,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T22:31:18+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T16:11:00+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/201dbebe.html" itemprop="url">
-            <span itemprop="name">MyBatis缓存机制</span>
+          <a class="post-title-link" href="/posts/ce4f4d1f.html" itemprop="url">
+            <span itemprop="name">CAS操作和ABA问题</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -402,15 +402,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T09:38:02+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T15:56:26+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/36fb1fe.html" itemprop="url">
-            <span itemprop="name">Git常见使用问题</span>
+          <a class="post-title-link" href="/posts/7ae49b47.html" itemprop="url">
+            <span itemprop="name">CAP理论和BASE理论</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -422,15 +422,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T07:07:20+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T15:42:43+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/b4c6dbe7.html" itemprop="url">
-            <span itemprop="name">Windows下的包管理工具scoop</span>
+          <a class="post-title-link" href="/posts/9a65c93a.html" itemprop="url">
+            <span itemprop="name">wait()和sleep()方法的区别</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -442,15 +442,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-02T16:27:30+08:00"
-              content="2021-04-02">
-          04-02
+              datetime="2021-04-05T21:13:26+08:00"
+              content="2021-04-05">
+          04-05
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/11188dee.html" itemprop="url">
-            <span itemprop="name">事务操作和事务自动提交</span>
+          <a class="post-title-link" href="/posts/c6b69b48.html" itemprop="url">
+            <span itemprop="name">线程和线程池的关闭</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -462,15 +462,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-02T15:40:13+08:00"
-              content="2021-04-02">
-          04-02
+              datetime="2021-04-05T15:13:37+08:00"
+              content="2021-04-05">
+          04-05
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/5874180.html" itemprop="url">
-            <span itemprop="name">数据库事务</span>
+          <a class="post-title-link" href="/posts/2871eb40.html" itemprop="url">
+            <span itemprop="name">String、StringBuilder和StringBuffer</span>
           </a>
           </a>
       </div>
       </div>
 
 

+ 54 - 54
archives/2021/page/2/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       
@@ -282,15 +282,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-29T20:59:27+08:00"
-              content="2021-03-29">
-          03-29
+              datetime="2021-04-04T17:29:58+08:00"
+              content="2021-04-04">
+          04-04
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/e0bb8399.html" itemprop="url">
-            <span itemprop="name">Redis的淘汰策略</span>
+          <a class="post-title-link" href="/posts/12626135.html" itemprop="url">
+            <span itemprop="name">双向链表和双向循环链表</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -302,15 +302,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-29T20:59:13+08:00"
-              content="2021-03-29">
-          03-29
+              datetime="2021-04-04T16:32:14+08:00"
+              content="2021-04-04">
+          04-04
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/7b35ed44.html" itemprop="url">
-            <span itemprop="name">Redis的5种基本数据类型</span>
+          <a class="post-title-link" href="/posts/c80e1ec8.html" itemprop="url">
+            <span itemprop="name">Java基本数据类型</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -322,15 +322,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-29T20:58:58+08:00"
-              content="2021-03-29">
-          03-29
+              datetime="2021-04-03T22:32:18+08:00"
+              content="2021-04-03">
+          04-03
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/9589c4d2.html" itemprop="url">
-            <span itemprop="name">Redis的3种持久化方式</span>
+          <a class="post-title-link" href="/posts/daf2aad3.html" itemprop="url">
+            <span itemprop="name">MyBatis的占位符</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -342,15 +342,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:11:53+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-04-03T22:31:18+08:00"
+              content="2021-04-03">
+          04-03
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/ecc40a95.html" itemprop="url">
-            <span itemprop="name">Nginx配置SSL证书</span>
+          <a class="post-title-link" href="/posts/201dbebe.html" itemprop="url">
+            <span itemprop="name">MyBatis缓存机制</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -362,15 +362,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:11:43+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-04-03T09:38:02+08:00"
+              content="2021-04-03">
+          04-03
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/55e0da5c.html" itemprop="url">
-            <span itemprop="name">Nginx配置为代理服务器</span>
+          <a class="post-title-link" href="/posts/36fb1fe.html" itemprop="url">
+            <span itemprop="name">Git常见使用问题</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -382,15 +382,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:11:43+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-04-03T07:07:20+08:00"
+              content="2021-04-03">
+          04-03
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/4eef1a76.html" itemprop="url">
-            <span itemprop="name">Nginx配置为文件服务器</span>
+          <a class="post-title-link" href="/posts/b4c6dbe7.html" itemprop="url">
+            <span itemprop="name">Windows下的包管理工具scoop</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -402,15 +402,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:11:24+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-04-02T16:27:30+08:00"
+              content="2021-04-02">
+          04-02
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/84bf135c.html" itemprop="url">
-            <span itemprop="name">Nginx开启Gzip压缩</span>
+          <a class="post-title-link" href="/posts/11188dee.html" itemprop="url">
+            <span itemprop="name">事务操作和事务自动提交</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -422,15 +422,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:10:45+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-04-02T15:40:13+08:00"
+              content="2021-04-02">
+          04-02
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/35e905e4.html" itemprop="url">
-            <span itemprop="name">Linux设置时区</span>
+          <a class="post-title-link" href="/posts/5874180.html" itemprop="url">
+            <span itemprop="name">数据库事务</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -442,15 +442,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:10:30+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-03-29T20:59:27+08:00"
+              content="2021-03-29">
+          03-29
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/ef0b8374.html" itemprop="url">
-            <span itemprop="name">Linux配置IPV6地址</span>
+          <a class="post-title-link" href="/posts/e0bb8399.html" itemprop="url">
+            <span itemprop="name">Redis的淘汰策略</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -462,15 +462,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:10:14+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-03-29T20:59:13+08:00"
+              content="2021-03-29">
+          03-29
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/c62f803c.html" itemprop="url">
-            <span itemprop="name">Linux操作指南:02-配置防火墙端口</span>
+          <a class="post-title-link" href="/posts/7b35ed44.html" itemprop="url">
+            <span itemprop="name">Redis的5种基本数据类型</span>
           </a>
           </a>
       </div>
       </div>
 
 

+ 164 - 4
archives/2021/page/3/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       
@@ -278,6 +278,166 @@
       <span class="collection-header">2021</span>
       <span class="collection-header">2021</span>
     </div>
     </div>
 
 
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-03-29T20:58:58+08:00"
+              content="2021-03-29">
+          03-29
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/9589c4d2.html" itemprop="url">
+            <span itemprop="name">Redis的3种持久化方式</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-03-27T21:11:53+08:00"
+              content="2021-03-27">
+          03-27
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/ecc40a95.html" itemprop="url">
+            <span itemprop="name">Nginx配置SSL证书</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-03-27T21:11:43+08:00"
+              content="2021-03-27">
+          03-27
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/55e0da5c.html" itemprop="url">
+            <span itemprop="name">Nginx配置为代理服务器</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-03-27T21:11:43+08:00"
+              content="2021-03-27">
+          03-27
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/4eef1a76.html" itemprop="url">
+            <span itemprop="name">Nginx配置为文件服务器</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-03-27T21:11:24+08:00"
+              content="2021-03-27">
+          03-27
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/84bf135c.html" itemprop="url">
+            <span itemprop="name">Nginx开启Gzip压缩</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-03-27T21:10:45+08:00"
+              content="2021-03-27">
+          03-27
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/35e905e4.html" itemprop="url">
+            <span itemprop="name">Linux设置时区</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-03-27T21:10:30+08:00"
+              content="2021-03-27">
+          03-27
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/ef0b8374.html" itemprop="url">
+            <span itemprop="name">Linux配置IPV6地址</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-03-27T21:10:14+08:00"
+              content="2021-03-27">
+          03-27
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/c62f803c.html" itemprop="url">
+            <span itemprop="name">Linux操作指南:02-配置防火墙端口</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
   <article itemscope itemtype="http://schema.org/Article">
   <article itemscope itemtype="http://schema.org/Article">
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">

+ 55 - 55
archives/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       
@@ -282,15 +282,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-05T21:13:26+08:00"
-              content="2021-04-05">
-          04-05
+              datetime="2021-04-06T22:37:06+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/c6b69b48.html" itemprop="url">
-            <span itemprop="name">线程和线程池的关闭</span>
+          <a class="post-title-link" href="/posts/ce090114.html" itemprop="url">
+            <span itemprop="name">微服务的启动</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -302,15 +302,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-05T15:13:37+08:00"
-              content="2021-04-05">
-          04-05
+              datetime="2021-04-06T22:20:54+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/2871eb40.html" itemprop="url">
-            <span itemprop="name">String、StringBuilder和StringBuffer</span>
+          <a class="post-title-link" href="/posts/6117b918.html" itemprop="url">
+            <span itemprop="name">线程间的互斥和同步</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -322,15 +322,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-04T17:29:58+08:00"
-              content="2021-04-04">
-          04-04
+              datetime="2021-04-06T22:17:07+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/12626135.html" itemprop="url">
-            <span itemprop="name">双向链表和双向循环链表</span>
+          <a class="post-title-link" href="/posts/c3329247.html" itemprop="url">
+            <span itemprop="name">临界段</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -342,15 +342,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-04T16:32:14+08:00"
-              content="2021-04-04">
-          04-04
+              datetime="2021-04-06T22:14:18+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/c80e1ec8.html" itemprop="url">
-            <span itemprop="name">Java基本数据类型</span>
+          <a class="post-title-link" href="/posts/f6f32af4.html" itemprop="url">
+            <span itemprop="name">注解@Autowired和@Resource区别</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -362,15 +362,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T22:32:18+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T22:11:55+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/daf2aad3.html" itemprop="url">
-            <span itemprop="name">MyBatis的占位符</span>
+          <a class="post-title-link" href="/posts/44e8cd7.html" itemprop="url">
+            <span itemprop="name">进程间的通信方式</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -382,15 +382,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T22:31:18+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T16:11:00+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/201dbebe.html" itemprop="url">
-            <span itemprop="name">MyBatis缓存机制</span>
+          <a class="post-title-link" href="/posts/ce4f4d1f.html" itemprop="url">
+            <span itemprop="name">CAS操作和ABA问题</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -402,15 +402,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T09:38:02+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T15:56:26+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/36fb1fe.html" itemprop="url">
-            <span itemprop="name">Git常见使用问题</span>
+          <a class="post-title-link" href="/posts/7ae49b47.html" itemprop="url">
+            <span itemprop="name">CAP理论和BASE理论</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -422,15 +422,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-03T07:07:20+08:00"
-              content="2021-04-03">
-          04-03
+              datetime="2021-04-06T15:42:43+08:00"
+              content="2021-04-06">
+          04-06
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/b4c6dbe7.html" itemprop="url">
-            <span itemprop="name">Windows下的包管理工具scoop</span>
+          <a class="post-title-link" href="/posts/9a65c93a.html" itemprop="url">
+            <span itemprop="name">wait()和sleep()方法的区别</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -442,15 +442,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-02T16:27:30+08:00"
-              content="2021-04-02">
-          04-02
+              datetime="2021-04-05T21:13:26+08:00"
+              content="2021-04-05">
+          04-05
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/11188dee.html" itemprop="url">
-            <span itemprop="name">事务操作和事务自动提交</span>
+          <a class="post-title-link" href="/posts/c6b69b48.html" itemprop="url">
+            <span itemprop="name">线程和线程池的关闭</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -462,15 +462,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-04-02T15:40:13+08:00"
-              content="2021-04-02">
-          04-02
+              datetime="2021-04-05T15:13:37+08:00"
+              content="2021-04-05">
+          04-05
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/5874180.html" itemprop="url">
-            <span itemprop="name">数据库事务</span>
+          <a class="post-title-link" href="/posts/2871eb40.html" itemprop="url">
+            <span itemprop="name">String、StringBuilder和StringBuffer</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -485,7 +485,7 @@
   
   
   
   
   <nav class="pagination">
   <nav class="pagination">
-    <span class="page-number current">1</span><a class="page-number" href="/archives/page/2/">2</a><span class="space">&hellip;</span><a class="page-number" href="/archives/page/4/">4</a><a class="extend next" rel="next" href="/archives/page/2/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
+    <span class="page-number current">1</span><a class="page-number" href="/archives/page/2/">2</a><span class="space">&hellip;</span><a class="page-number" href="/archives/page/5/">5</a><a class="extend next" rel="next" href="/archives/page/2/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
   </nav>
   </nav>
 
 
 
 

+ 55 - 55
archives/page/2/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       
@@ -282,15 +282,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-29T20:59:27+08:00"
-              content="2021-03-29">
-          03-29
+              datetime="2021-04-04T17:29:58+08:00"
+              content="2021-04-04">
+          04-04
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/e0bb8399.html" itemprop="url">
-            <span itemprop="name">Redis的淘汰策略</span>
+          <a class="post-title-link" href="/posts/12626135.html" itemprop="url">
+            <span itemprop="name">双向链表和双向循环链表</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -302,15 +302,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-29T20:59:13+08:00"
-              content="2021-03-29">
-          03-29
+              datetime="2021-04-04T16:32:14+08:00"
+              content="2021-04-04">
+          04-04
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/7b35ed44.html" itemprop="url">
-            <span itemprop="name">Redis的5种基本数据类型</span>
+          <a class="post-title-link" href="/posts/c80e1ec8.html" itemprop="url">
+            <span itemprop="name">Java基本数据类型</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -322,15 +322,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-29T20:58:58+08:00"
-              content="2021-03-29">
-          03-29
+              datetime="2021-04-03T22:32:18+08:00"
+              content="2021-04-03">
+          04-03
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/9589c4d2.html" itemprop="url">
-            <span itemprop="name">Redis的3种持久化方式</span>
+          <a class="post-title-link" href="/posts/daf2aad3.html" itemprop="url">
+            <span itemprop="name">MyBatis的占位符</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -342,15 +342,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:11:53+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-04-03T22:31:18+08:00"
+              content="2021-04-03">
+          04-03
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/ecc40a95.html" itemprop="url">
-            <span itemprop="name">Nginx配置SSL证书</span>
+          <a class="post-title-link" href="/posts/201dbebe.html" itemprop="url">
+            <span itemprop="name">MyBatis缓存机制</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -362,15 +362,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:11:43+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-04-03T09:38:02+08:00"
+              content="2021-04-03">
+          04-03
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/55e0da5c.html" itemprop="url">
-            <span itemprop="name">Nginx配置为代理服务器</span>
+          <a class="post-title-link" href="/posts/36fb1fe.html" itemprop="url">
+            <span itemprop="name">Git常见使用问题</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -382,15 +382,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:11:43+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-04-03T07:07:20+08:00"
+              content="2021-04-03">
+          04-03
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/4eef1a76.html" itemprop="url">
-            <span itemprop="name">Nginx配置为文件服务器</span>
+          <a class="post-title-link" href="/posts/b4c6dbe7.html" itemprop="url">
+            <span itemprop="name">Windows下的包管理工具scoop</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -402,15 +402,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:11:24+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-04-02T16:27:30+08:00"
+              content="2021-04-02">
+          04-02
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/84bf135c.html" itemprop="url">
-            <span itemprop="name">Nginx开启Gzip压缩</span>
+          <a class="post-title-link" href="/posts/11188dee.html" itemprop="url">
+            <span itemprop="name">事务操作和事务自动提交</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -422,15 +422,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:10:45+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-04-02T15:40:13+08:00"
+              content="2021-04-02">
+          04-02
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/35e905e4.html" itemprop="url">
-            <span itemprop="name">Linux设置时区</span>
+          <a class="post-title-link" href="/posts/5874180.html" itemprop="url">
+            <span itemprop="name">数据库事务</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -442,15 +442,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:10:30+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-03-29T20:59:27+08:00"
+              content="2021-03-29">
+          03-29
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/ef0b8374.html" itemprop="url">
-            <span itemprop="name">Linux配置IPV6地址</span>
+          <a class="post-title-link" href="/posts/e0bb8399.html" itemprop="url">
+            <span itemprop="name">Redis的淘汰策略</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -462,15 +462,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:10:14+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-03-29T20:59:13+08:00"
+              content="2021-03-29">
+          03-29
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/c62f803c.html" itemprop="url">
-            <span itemprop="name">Linux操作指南:02-配置防火墙端口</span>
+          <a class="post-title-link" href="/posts/7b35ed44.html" itemprop="url">
+            <span itemprop="name">Redis的5种基本数据类型</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -485,7 +485,7 @@
   
   
   
   
   <nav class="pagination">
   <nav class="pagination">
-    <a class="extend prev" rel="prev" href="/archives/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/archives/">1</a><span class="page-number current">2</span><a class="page-number" href="/archives/page/3/">3</a><a class="page-number" href="/archives/page/4/">4</a><a class="extend next" rel="next" href="/archives/page/3/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
+    <a class="extend prev" rel="prev" href="/archives/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/archives/">1</a><span class="page-number current">2</span><a class="page-number" href="/archives/page/3/">3</a><span class="space">&hellip;</span><a class="page-number" href="/archives/page/5/">5</a><a class="extend next" rel="next" href="/archives/page/3/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
   </nav>
   </nav>
 
 
 
 

+ 53 - 59
archives/page/3/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       
@@ -282,15 +282,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:09:44+08:00"
-              content="2021-03-27">
-          03-27
+              datetime="2021-03-29T20:58:58+08:00"
+              content="2021-03-29">
+          03-29
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/bdb89eee.html" itemprop="url">
-            <span itemprop="name">Gogs配置为服务开机自启动</span>
+          <a class="post-title-link" href="/posts/9589c4d2.html" itemprop="url">
+            <span itemprop="name">Redis的3种持久化方式</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -302,61 +302,55 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2021-03-27T21:08:56+08:00"
+              datetime="2021-03-27T21:11:53+08:00"
               content="2021-03-27">
               content="2021-03-27">
           03-27
           03-27
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/f31ac7c3.html" itemprop="url">
-            <span itemprop="name">docker服务及其容器自启动</span>
+          <a class="post-title-link" href="/posts/ecc40a95.html" itemprop="url">
+            <span itemprop="name">Nginx配置SSL证书</span>
           </a>
           </a>
       </div>
       </div>
 
 
       
       
     </header>
     </header>
   </article>
   </article>
-    <div class="collection-year">
-      <span class="collection-header">2020</span>
-    </div>
 
 
   <article itemscope itemtype="http://schema.org/Article">
   <article itemscope itemtype="http://schema.org/Article">
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2020-01-10T22:43:20+08:00"
-              content="2020-01-10">
-          01-10
+              datetime="2021-03-27T21:11:43+08:00"
+              content="2021-03-27">
+          03-27
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/1eb05570.html" itemprop="url">
-            <span itemprop="name">Linux操作指南:01-新建用户</span>
+          <a class="post-title-link" href="/posts/55e0da5c.html" itemprop="url">
+            <span itemprop="name">Nginx配置为代理服务器</span>
           </a>
           </a>
       </div>
       </div>
 
 
       
       
     </header>
     </header>
   </article>
   </article>
-    <div class="collection-year">
-      <span class="collection-header">2019</span>
-    </div>
 
 
   <article itemscope itemtype="http://schema.org/Article">
   <article itemscope itemtype="http://schema.org/Article">
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-10-31T12:31:13+08:00"
-              content="2019-10-31">
-          10-31
+              datetime="2021-03-27T21:11:43+08:00"
+              content="2021-03-27">
+          03-27
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/4c0b6fc5.html" itemprop="url">
-            <span itemprop="name">Java的foreach</span>
+          <a class="post-title-link" href="/posts/4eef1a76.html" itemprop="url">
+            <span itemprop="name">Nginx配置为文件服务器</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -368,15 +362,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-10-30T22:26:47+08:00"
-              content="2019-10-30">
-          10-30
+              datetime="2021-03-27T21:11:24+08:00"
+              content="2021-03-27">
+          03-27
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/35b60266.html" itemprop="url">
-            <span itemprop="name">Map的N种遍历方法</span>
+          <a class="post-title-link" href="/posts/84bf135c.html" itemprop="url">
+            <span itemprop="name">Nginx开启Gzip压缩</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -388,15 +382,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-10-26T17:07:44+08:00"
-              content="2019-10-26">
-          10-26
+              datetime="2021-03-27T21:10:45+08:00"
+              content="2021-03-27">
+          03-27
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/e38e4cbe.html" itemprop="url">
-            <span itemprop="name">MySQL存储IP地址</span>
+          <a class="post-title-link" href="/posts/35e905e4.html" itemprop="url">
+            <span itemprop="name">Linux设置时区</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -408,15 +402,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-10-25T23:03:02+08:00"
-              content="2019-10-25">
-          10-25
+              datetime="2021-03-27T21:10:30+08:00"
+              content="2021-03-27">
+          03-27
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/a7ec3638.html" itemprop="url">
-            <span itemprop="name">MySQL开发时异常记录</span>
+          <a class="post-title-link" href="/posts/ef0b8374.html" itemprop="url">
+            <span itemprop="name">Linux配置IPV6地址</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -428,15 +422,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-10-23T21:37:47+08:00"
-              content="2019-10-23">
-          10-23
+              datetime="2021-03-27T21:10:14+08:00"
+              content="2021-03-27">
+          03-27
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/3d0562c8.html" itemprop="url">
-            <span itemprop="name">IDEA输出中文乱码解决方法</span>
+          <a class="post-title-link" href="/posts/c62f803c.html" itemprop="url">
+            <span itemprop="name">Linux操作指南:02-配置防火墙端口</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -448,15 +442,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-10-10T21:29:20+08:00"
-              content="2019-10-10">
-          10-10
+              datetime="2021-03-27T21:09:44+08:00"
+              content="2021-03-27">
+          03-27
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/d1f7f56f.html" itemprop="url">
-            <span itemprop="name">深入操作系统-01环境创建</span>
+          <a class="post-title-link" href="/posts/bdb89eee.html" itemprop="url">
+            <span itemprop="name">Gogs配置为服务开机自启动</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -468,15 +462,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-06-24T23:06:19+08:00"
-              content="2019-06-24">
-          06-24
+              datetime="2021-03-27T21:08:56+08:00"
+              content="2021-03-27">
+          03-27
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/ab6871d9.html" itemprop="url">
-            <span itemprop="name">科学的重复</span>
+          <a class="post-title-link" href="/posts/f31ac7c3.html" itemprop="url">
+            <span itemprop="name">docker服务及其容器自启动</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -491,7 +485,7 @@
   
   
   
   
   <nav class="pagination">
   <nav class="pagination">
-    <a class="extend prev" rel="prev" href="/archives/page/2/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/archives/">1</a><a class="page-number" href="/archives/page/2/">2</a><span class="page-number current">3</span><a class="page-number" href="/archives/page/4/">4</a><a class="extend next" rel="next" href="/archives/page/4/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
+    <a class="extend prev" rel="prev" href="/archives/page/2/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/archives/">1</a><a class="page-number" href="/archives/page/2/">2</a><span class="page-number current">3</span><a class="page-number" href="/archives/page/4/">4</a><a class="page-number" href="/archives/page/5/">5</a><a class="extend next" rel="next" href="/archives/page/4/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
   </nav>
   </nav>
 
 
 
 

+ 103 - 43
archives/page/4/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,10 +270,33 @@
     <div class="post-content">
     <div class="post-content">
       <div class="collection-title">
       <div class="collection-title">
         
         
-        <span class="collection-header">还行! 目前共计 37 篇日志。 继续努力。</span>
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
       </div>
       </div>
 
 
       
       
+    <div class="collection-year">
+      <span class="collection-header">2020</span>
+    </div>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2020-01-10T22:43:20+08:00"
+              content="2020-01-10">
+          01-10
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/1eb05570.html" itemprop="url">
+            <span itemprop="name">Linux操作指南:01-新建用户</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
     <div class="collection-year">
     <div class="collection-year">
       <span class="collection-header">2019</span>
       <span class="collection-header">2019</span>
     </div>
     </div>
@@ -282,15 +305,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-06-24T22:33:08+08:00"
-              content="2019-06-24">
-          06-24
+              datetime="2019-10-31T12:31:13+08:00"
+              content="2019-10-31">
+          10-31
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/b1bd9b76.html" itemprop="url">
-            <span itemprop="name">架构师的思考层次</span>
+          <a class="post-title-link" href="/posts/4c0b6fc5.html" itemprop="url">
+            <span itemprop="name">Java的foreach</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -302,15 +325,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-06-22T15:43:04+08:00"
-              content="2019-06-22">
-          06-22
+              datetime="2019-10-30T22:26:47+08:00"
+              content="2019-10-30">
+          10-30
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/b9577586.html" itemprop="url">
-            <span itemprop="name">斐讯N1刷机后操作</span>
+          <a class="post-title-link" href="/posts/35b60266.html" itemprop="url">
+            <span itemprop="name">Map的N种遍历方法</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -322,15 +345,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-05-07T20:31:00+08:00"
-              content="2019-05-07">
-          05-07
+              datetime="2019-10-26T17:07:44+08:00"
+              content="2019-10-26">
+          10-26
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/5d007e64.html" itemprop="url">
-            <span itemprop="name">圆周率的来历</span>
+          <a class="post-title-link" href="/posts/e38e4cbe.html" itemprop="url">
+            <span itemprop="name">MySQL存储IP地址</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -342,15 +365,15 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-04-09T16:31:43+08:00"
-              content="2019-04-09">
-          04-09
+              datetime="2019-10-25T23:03:02+08:00"
+              content="2019-10-25">
+          10-25
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/b0269417.html" itemprop="url">
-            <span itemprop="name">Java常用名词</span>
+          <a class="post-title-link" href="/posts/a7ec3638.html" itemprop="url">
+            <span itemprop="name">MySQL开发时异常记录</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -362,38 +385,35 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2019-03-17T22:22:03+08:00"
-              content="2019-03-17">
-          03-17
+              datetime="2019-10-23T21:37:47+08:00"
+              content="2019-10-23">
+          10-23
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/87daa986.html" itemprop="url">
-            <span itemprop="name">博客之2019</span>
+          <a class="post-title-link" href="/posts/3d0562c8.html" itemprop="url">
+            <span itemprop="name">IDEA输出中文乱码解决方法</span>
           </a>
           </a>
       </div>
       </div>
 
 
       
       
     </header>
     </header>
   </article>
   </article>
-    <div class="collection-year">
-      <span class="collection-header">2018</span>
-    </div>
 
 
   <article itemscope itemtype="http://schema.org/Article">
   <article itemscope itemtype="http://schema.org/Article">
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2018-05-20T10:34:06+08:00"
-              content="2018-05-20">
-          05-20
+              datetime="2019-10-10T21:29:20+08:00"
+              content="2019-10-10">
+          10-10
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/c3592b96.html" itemprop="url">
-            <span itemprop="name">Conda</span>
+          <a class="post-title-link" href="/posts/d1f7f56f.html" itemprop="url">
+            <span itemprop="name">深入操作系统-01环境创建</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -405,15 +425,55 @@
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">
         <time itemprop="dateCreated"
         <time itemprop="dateCreated"
-              datetime="2018-02-16T00:00:00+08:00"
-              content="2018-02-16">
-          02-16
+              datetime="2019-06-24T23:06:19+08:00"
+              content="2019-06-24">
+          06-24
         </time>
         </time>
       </div>
       </div>
 
 
       <div class="post-title">
       <div class="post-title">
-          <a class="post-title-link" href="/posts/40124174.html" itemprop="url">
-            <span itemprop="name">博客之始</span>
+          <a class="post-title-link" href="/posts/ab6871d9.html" itemprop="url">
+            <span itemprop="name">科学的重复</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2019-06-24T22:33:08+08:00"
+              content="2019-06-24">
+          06-24
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/b1bd9b76.html" itemprop="url">
+            <span itemprop="name">架构师的思考层次</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2019-06-22T15:43:04+08:00"
+              content="2019-06-22">
+          06-22
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/b9577586.html" itemprop="url">
+            <span itemprop="name">斐讯N1刷机后操作</span>
           </a>
           </a>
       </div>
       </div>
 
 
@@ -428,7 +488,7 @@
   
   
   
   
   <nav class="pagination">
   <nav class="pagination">
-    <a class="extend prev" rel="prev" href="/archives/page/3/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/archives/">1</a><span class="space">&hellip;</span><a class="page-number" href="/archives/page/3/">3</a><span class="page-number current">4</span>
+    <a class="extend prev" rel="prev" href="/archives/page/3/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/archives/">1</a><span class="space">&hellip;</span><a class="page-number" href="/archives/page/3/">3</a><span class="page-number current">4</span><a class="page-number" href="/archives/page/5/">5</a><a class="extend next" rel="next" href="/archives/page/5/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
   </nav>
   </nav>
 
 
 
 

+ 545 - 0
archives/page/5/index.html

@@ -0,0 +1,545 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:type" content="website">
+<meta property="og:title" content="知行">
+<meta property="og:url" content="https://blog.izhixing.icu/archives/page/5/index.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:author" content="知行">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/archives/page/5/">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : false,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>归档 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-overview-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner archive posts-collapse">
+
+
+  
+  
+  
+  <div class="post-block">
+    <div class="post-content">
+      <div class="collection-title">
+        
+        <span class="collection-header">还行! 目前共计 45 篇日志。 继续努力。</span>
+      </div>
+
+      
+    <div class="collection-year">
+      <span class="collection-header">2019</span>
+    </div>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2019-05-07T20:31:00+08:00"
+              content="2019-05-07">
+          05-07
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/5d007e64.html" itemprop="url">
+            <span itemprop="name">圆周率的来历</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2019-04-09T16:31:43+08:00"
+              content="2019-04-09">
+          04-09
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/b0269417.html" itemprop="url">
+            <span itemprop="name">Java常用名词</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2019-03-17T22:22:03+08:00"
+              content="2019-03-17">
+          03-17
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/87daa986.html" itemprop="url">
+            <span itemprop="name">博客之2019</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+    <div class="collection-year">
+      <span class="collection-header">2018</span>
+    </div>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2018-05-20T10:34:06+08:00"
+              content="2018-05-20">
+          05-20
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/c3592b96.html" itemprop="url">
+            <span itemprop="name">Conda</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2018-02-16T00:00:00+08:00"
+              content="2018-02-16">
+          02-16
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/40124174.html" itemprop="url">
+            <span itemprop="name">博客之始</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+
+    </div>
+  </div>
+  
+  
+  
+  <nav class="pagination">
+    <a class="extend prev" rel="prev" href="/archives/page/4/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/archives/">1</a><span class="space">&hellip;</span><a class="page-number" href="/archives/page/4/">4</a><span class="page-number current">5</span>
+  </nav>
+
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+
+</body>
+</html>

+ 23 - 3
categories/Docker/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -279,6 +279,26 @@
       <span class="collection-header">2021</span>
       <span class="collection-header">2021</span>
     </div>
     </div>
 
 
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T22:37:06+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/ce090114.html" itemprop="url">
+            <span itemprop="name">微服务的启动</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
   <article itemscope itemtype="http://schema.org/Article">
   <article itemscope itemtype="http://schema.org/Article">
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">

+ 43 - 3
categories/Java/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -279,6 +279,46 @@
       <span class="collection-header">2021</span>
       <span class="collection-header">2021</span>
     </div>
     </div>
 
 
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T22:14:18+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/f6f32af4.html" itemprop="url">
+            <span itemprop="name">注解@Autowired和@Resource区别</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T15:42:43+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/9a65c93a.html" itemprop="url">
+            <span itemprop="name">wait()和sleep()方法的区别</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
   <article itemscope itemtype="http://schema.org/Article">
   <article itemscope itemtype="http://schema.org/Article">
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">

+ 479 - 0
categories/Java/多线程/index.html

@@ -0,0 +1,479 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:type" content="website">
+<meta property="og:title" content="知行">
+<meta property="og:url" content="https://blog.izhixing.icu/categories/Java/%E5%A4%9A%E7%BA%BF%E7%A8%8B/index.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:author" content="知行">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/categories/Java/%E5%A4%9A%E7%BA%BF%E7%A8%8B/">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : false,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>分类: 多线程 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-overview-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner category posts-collapse">
+
+
+  
+  
+  
+  <div class="post-block">
+    <div class="post-content">
+      <div class="collection-title">
+        <h2 class="collection-header">多线程
+          <small>分类</small>
+        </h2>
+      </div>
+
+      
+    <div class="collection-year">
+      <span class="collection-header">2021</span>
+    </div>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T15:42:43+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/9a65c93a.html" itemprop="url">
+            <span itemprop="name">wait()和sleep()方法的区别</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-05T21:13:26+08:00"
+              content="2021-04-05">
+          04-05
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/c6b69b48.html" itemprop="url">
+            <span itemprop="name">线程和线程池的关闭</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+    </div>
+  </div>
+  
+  
+  
+
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+
+</body>
+</html>

+ 3 - 3
categories/Java/框架/MyBatis/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 459 - 0
categories/Java/框架/Spring/index.html

@@ -0,0 +1,459 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:type" content="website">
+<meta property="og:title" content="知行">
+<meta property="og:url" content="https://blog.izhixing.icu/categories/Java/%E6%A1%86%E6%9E%B6/Spring/index.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:author" content="知行">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/categories/Java/%E6%A1%86%E6%9E%B6/Spring/">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : false,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>分类: Spring | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-overview-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner category posts-collapse">
+
+
+  
+  
+  
+  <div class="post-block">
+    <div class="post-content">
+      <div class="collection-title">
+        <h2 class="collection-header">Spring
+          <small>分类</small>
+        </h2>
+      </div>
+
+      
+    <div class="collection-year">
+      <span class="collection-header">2021</span>
+    </div>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T22:14:18+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/f6f32af4.html" itemprop="url">
+            <span itemprop="name">注解@Autowired和@Resource区别</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+    </div>
+  </div>
+  
+  
+  
+
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+
+</body>
+</html>

+ 23 - 3
categories/Java/框架/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -279,6 +279,26 @@
       <span class="collection-header">2021</span>
       <span class="collection-header">2021</span>
     </div>
     </div>
 
 
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T22:14:18+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/f6f32af4.html" itemprop="url">
+            <span itemprop="name">注解@Autowired和@Resource区别</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
   <article itemscope itemtype="http://schema.org/Article">
   <article itemscope itemtype="http://schema.org/Article">
     <header class="post-header">
     <header class="post-header">
       <div class="post-meta-container">
       <div class="post-meta-container">

+ 3 - 3
categories/Linux/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/MySQL/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/Nginx/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/Redis/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

File diff suppressed because it is too large
+ 5 - 5
categories/index.html


+ 459 - 0
categories/分布式/index.html

@@ -0,0 +1,459 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:type" content="website">
+<meta property="og:title" content="知行">
+<meta property="og:url" content="https://blog.izhixing.icu/categories/%E5%88%86%E5%B8%83%E5%BC%8F/index.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:author" content="知行">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/categories/%E5%88%86%E5%B8%83%E5%BC%8F/">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : false,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>分类: 分布式 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-overview-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner category posts-collapse">
+
+
+  
+  
+  
+  <div class="post-block">
+    <div class="post-content">
+      <div class="collection-title">
+        <h2 class="collection-header">分布式
+          <small>分类</small>
+        </h2>
+      </div>
+
+      
+    <div class="collection-year">
+      <span class="collection-header">2021</span>
+    </div>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T15:56:26+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/7ae49b47.html" itemprop="url">
+            <span itemprop="name">CAP理论和BASE理论</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+    </div>
+  </div>
+  
+  
+  
+
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+
+</body>
+</html>

+ 519 - 0
categories/多线程/index.html

@@ -0,0 +1,519 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:type" content="website">
+<meta property="og:title" content="知行">
+<meta property="og:url" content="https://blog.izhixing.icu/categories/%E5%A4%9A%E7%BA%BF%E7%A8%8B/index.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:author" content="知行">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/categories/%E5%A4%9A%E7%BA%BF%E7%A8%8B/">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : false,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>分类: 多线程 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-overview-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner category posts-collapse">
+
+
+  
+  
+  
+  <div class="post-block">
+    <div class="post-content">
+      <div class="collection-title">
+        <h2 class="collection-header">多线程
+          <small>分类</small>
+        </h2>
+      </div>
+
+      
+    <div class="collection-year">
+      <span class="collection-header">2021</span>
+    </div>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T22:20:54+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/6117b918.html" itemprop="url">
+            <span itemprop="name">线程间的互斥和同步</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T22:17:07+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/c3329247.html" itemprop="url">
+            <span itemprop="name">临界段</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T22:11:55+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/44e8cd7.html" itemprop="url">
+            <span itemprop="name">进程间的通信方式</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+  <article itemscope itemtype="http://schema.org/Article">
+    <header class="post-header">
+      <div class="post-meta-container">
+        <time itemprop="dateCreated"
+              datetime="2021-04-06T16:11:00+08:00"
+              content="2021-04-06">
+          04-06
+        </time>
+      </div>
+
+      <div class="post-title">
+          <a class="post-title-link" href="/posts/ce4f4d1f.html" itemprop="url">
+            <span itemprop="name">CAS操作和ABA问题</span>
+          </a>
+      </div>
+
+      
+    </header>
+  </article>
+
+    </div>
+  </div>
+  
+  
+  
+
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+
+</body>
+</html>

+ 3 - 3
categories/学习/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/学习/记忆/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/工具/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/工具/scoop/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/工具/开发工具/Conda/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/工具/开发工具/Git/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/工具/开发工具/Gogs/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/工具/开发工具/IDEA/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/工具/开发工具/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/操作系统/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/数学/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/数据库/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/数据结构/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/日志/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/有趣/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/有趣/刷机/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 3 - 3
categories/架构师/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>

+ 104 - 156
index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/c6b69b48.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/ce090114.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -283,7 +283,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/c6b69b48.html" class="post-title-link" itemprop="url">线程和线程池的关闭</a>
+          <a href="/posts/ce090114.html" class="post-title-link" itemprop="url">微服务的启动</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -295,7 +295,7 @@
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
       
       
 
 
-      <time title="创建时间:2021-04-05 21:13:26 / 修改时间:21:18:06" itemprop="dateCreated datePublished" datetime="2021-04-05T21:13:26+08:00">2021-04-05</time>
+      <time title="创建时间:2021-04-06 22:37:06 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T22:37:06+08:00">2021-04-06</time>
     </span>
     </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -303,12 +303,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
+          <a href="/categories/Docker/" itemprop="url" rel="index"><span itemprop="name">Docker</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/c6b69b48.html" class="post-meta-item leancloud_visitors" data-flag-title="线程和线程池的关闭" title="阅读次数">
+    <span id="/posts/ce090114.html" class="post-meta-item leancloud_visitors" data-flag-title="微服务的启动" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -324,10 +324,11 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>为了最大限度的提高系统性能,线程和线程池的使用都是必不可少的,使用后往往面临一个相同的问题:关闭!</p>
+          <p>由于项目由单体变成了微服务的形式,因此项目的启动由一次变成了多次,但是单体项目与微服务有个不同点,就是微服务的服务之间存在依赖关系,不当的启动顺序会导致服务启动失败。</p>
+<p>PS:以下仅作记录,没有真实使用过,</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/c6b69b48.html#more" rel="contents">
+              <a class="btn" href="/posts/ce090114.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -358,7 +359,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/2871eb40.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/6117b918.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -371,7 +372,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/2871eb40.html" class="post-title-link" itemprop="url">String、StringBuilder和StringBuffer</a>
+          <a href="/posts/6117b918.html" class="post-title-link" itemprop="url">线程间的互斥和同步</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -383,7 +384,7 @@
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
       
       
 
 
-      <time title="创建时间:2021-04-05 15:13:37 / 修改时间:21:18:06" itemprop="dateCreated datePublished" datetime="2021-04-05T15:13:37+08:00">2021-04-05</time>
+      <time title="创建时间:2021-04-06 22:20:54 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T22:20:54+08:00">2021-04-06</time>
     </span>
     </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -391,12 +392,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
+          <a href="/categories/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/2871eb40.html" class="post-meta-item leancloud_visitors" data-flag-title="String、StringBuilder和StringBuffer" title="阅读次数">
+    <span id="/posts/6117b918.html" class="post-meta-item leancloud_visitors" data-flag-title="线程间的互斥和同步" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -412,15 +413,16 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>String是Java中使用频率极高的一个类,但由于其是不可变,因此有StringBuffer和StringBuilder两个类来弥补在大量修改场景下的不足。</p>
-          <!--noindex-->
-            <div class="post-button">
-              <a class="btn" href="/posts/2871eb40.html#more" rel="contents">
-                阅读全文 &raquo;
-              </a>
-            </div>
-          <!--/noindex-->
-        
+          <p>多线程间是互相协助和互相联系的,因此多线程间存在互斥和同步。</p>
+<!-- more  -->
+
+<h1 id="互斥和同步"><a href="#互斥和同步" class="headerlink" title="互斥和同步"></a>互斥和同步</h1><p>多线程间存在并发访问共享资源(修改资源)时就会出现互斥,保证共享数据在同一时刻只被一个线程使用。</p>
+<p>多线程同步是指一个线程由于某种原因(等待对象释放之类的)需要等待另一个线程执行完才能继续执行的现象,即线程间互相等待。</p>
+<p>互斥和同步是不可分离的,互斥是实现同步的一种手段,临界区、互斥量和信号量都是主要的互斥实现方式,互斥是因,同步是果,互斥是方法,同步是目的。</p>
+<h1 id="Java中的实现"><a href="#Java中的实现" class="headerlink" title="Java中的实现"></a>Java中的实现</h1><p>Java中wait()、notify()、notifyAll()三个方法就是用来实现线程同步的。</p>
+<p>wait()处于等待队列,或超时结束等待。notify()通知第一个处于等待的线程,notifyAll()则唤醒所有等待线程一起竞争cpu。</p>
+<p>Java中最基本的互斥同步手段就是synchronized。</p>
+
       
       
     </div>
     </div>
 
 
@@ -446,7 +448,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/12626135.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/c3329247.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -459,7 +461,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/12626135.html" class="post-title-link" itemprop="url">双向链表和双向循环链表</a>
+          <a href="/posts/c3329247.html" class="post-title-link" itemprop="url">临界段</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -469,28 +471,22 @@
         <i class="far fa-calendar"></i>
         <i class="far fa-calendar"></i>
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
+      
 
 
-      <time title="创建时间:2021-04-04 17:29:58" itemprop="dateCreated datePublished" datetime="2021-04-04T17:29:58+08:00">2021-04-04</time>
+      <time title="创建时间:2021-04-06 22:17:07 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T22:17:07+08:00">2021-04-06</time>
     </span>
     </span>
-      <span class="post-meta-item">
-        <span class="post-meta-item-icon">
-          <i class="far fa-calendar-check"></i>
-        </span>
-        <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
-      </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-folder"></i>
         <i class="far fa-folder"></i>
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index"><span itemprop="name">数据结构</span></a>
+          <a href="/categories/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/12626135.html" class="post-meta-item leancloud_visitors" data-flag-title="双向链表和双向循环链表" title="阅读次数">
+    <span id="/posts/c3329247.html" class="post-meta-item leancloud_visitors" data-flag-title="临界段" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -506,15 +502,9 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>双向链表是一种非常常用的数据结构,在双向链表的基础上还有一个双向循环链表。</p>
-          <!--noindex-->
-            <div class="post-button">
-              <a class="btn" href="/posts/12626135.html#more" rel="contents">
-                阅读全文 &raquo;
-              </a>
-            </div>
-          <!--/noindex-->
-        
+          <p>临界段即多线程互斥使用共享资源的代码段,是一种加锁的机制,在任意时刻一个共享资源只能被一个线程使用。</p>
+<p>Java中使用关键字synchronized定义临界段,能对共享对象进行加锁操作。</p>
+
       
       
     </div>
     </div>
 
 
@@ -540,7 +530,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/c80e1ec8.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/f6f32af4.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -553,7 +543,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/c80e1ec8.html" class="post-title-link" itemprop="url">Java基本数据类型</a>
+          <a href="/posts/f6f32af4.html" class="post-title-link" itemprop="url">注解@Autowired和@Resource区别</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -563,16 +553,10 @@
         <i class="far fa-calendar"></i>
         <i class="far fa-calendar"></i>
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
+      
 
 
-      <time title="创建时间:2021-04-04 16:32:14" itemprop="dateCreated datePublished" datetime="2021-04-04T16:32:14+08:00">2021-04-04</time>
+      <time title="创建时间:2021-04-06 22:14:18 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T22:14:18+08:00">2021-04-06</time>
     </span>
     </span>
-      <span class="post-meta-item">
-        <span class="post-meta-item-icon">
-          <i class="far fa-calendar-check"></i>
-        </span>
-        <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
-      </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-folder"></i>
         <i class="far fa-folder"></i>
@@ -581,10 +565,18 @@
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
           <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
           <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
         </span>
         </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/%E6%A1%86%E6%9E%B6/" itemprop="url" rel="index"><span itemprop="name">框架</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/%E6%A1%86%E6%9E%B6/Spring/" itemprop="url" rel="index"><span itemprop="name">Spring</span></a>
+        </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/c80e1ec8.html" class="post-meta-item leancloud_visitors" data-flag-title="Java基本数据类型" title="阅读次数">
+    <span id="/posts/f6f32af4.html" class="post-meta-item leancloud_visitors" data-flag-title="注解@Autowired和@Resource区别" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -600,10 +592,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>要用Java必然绕不开它的基本数据类型,</p>
+          <p>Spring提供了注解@Autowired用于依赖注入,同时也支持使用Java本身提供的注解@Resource用于依赖注入,这两个注解有什么异同呢?</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/c80e1ec8.html#more" rel="contents">
+              <a class="btn" href="/posts/f6f32af4.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -634,7 +626,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/daf2aad3.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/44e8cd7.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -647,7 +639,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/daf2aad3.html" class="post-title-link" itemprop="url">MyBatis的占位符</a>
+          <a href="/posts/44e8cd7.html" class="post-title-link" itemprop="url">进程间的通信方式</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -657,36 +649,22 @@
         <i class="far fa-calendar"></i>
         <i class="far fa-calendar"></i>
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
+      
 
 
-      <time title="创建时间:2021-04-03 22:32:18" itemprop="dateCreated datePublished" datetime="2021-04-03T22:32:18+08:00">2021-04-03</time>
+      <time title="创建时间:2021-04-06 22:11:55 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T22:11:55+08:00">2021-04-06</time>
     </span>
     </span>
-      <span class="post-meta-item">
-        <span class="post-meta-item-icon">
-          <i class="far fa-calendar-check"></i>
-        </span>
-        <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
-      </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-folder"></i>
         <i class="far fa-folder"></i>
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/%E6%A1%86%E6%9E%B6/" itemprop="url" rel="index"><span itemprop="name">框架</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/%E6%A1%86%E6%9E%B6/MyBatis/" itemprop="url" rel="index"><span itemprop="name">MyBatis</span></a>
+          <a href="/categories/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/daf2aad3.html" class="post-meta-item leancloud_visitors" data-flag-title="MyBatis的占位符" title="阅读次数">
+    <span id="/posts/44e8cd7.html" class="post-meta-item leancloud_visitors" data-flag-title="进程间的通信方式" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -702,10 +680,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>代码中访问数据库的时候,经常需要传输参数用作语句条件,这就不得不用到MyBatis提供的占位符。</p>
+          <p><strong>进程通信(Interprocess Communication,IPC)是一个进程与另一个进程间共享消息的一种通信方式</strong>。消息(message)是发送进程形成的一个消息块,将消息内容传送给接收进程。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/daf2aad3.html#more" rel="contents">
+              <a class="btn" href="/posts/44e8cd7.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -736,7 +714,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/201dbebe.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/ce4f4d1f.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -749,7 +727,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/201dbebe.html" class="post-title-link" itemprop="url">MyBatis缓存机制</a>
+          <a href="/posts/ce4f4d1f.html" class="post-title-link" itemprop="url">CAS操作和ABA问题</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -759,36 +737,22 @@
         <i class="far fa-calendar"></i>
         <i class="far fa-calendar"></i>
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
+      
 
 
-      <time title="创建时间:2021-04-03 22:31:18" itemprop="dateCreated datePublished" datetime="2021-04-03T22:31:18+08:00">2021-04-03</time>
+      <time title="创建时间:2021-04-06 16:11:00 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T16:11:00+08:00">2021-04-06</time>
     </span>
     </span>
-      <span class="post-meta-item">
-        <span class="post-meta-item-icon">
-          <i class="far fa-calendar-check"></i>
-        </span>
-        <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
-      </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-folder"></i>
         <i class="far fa-folder"></i>
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/%E6%A1%86%E6%9E%B6/" itemprop="url" rel="index"><span itemprop="name">框架</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/%E6%A1%86%E6%9E%B6/MyBatis/" itemprop="url" rel="index"><span itemprop="name">MyBatis</span></a>
+          <a href="/categories/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/201dbebe.html" class="post-meta-item leancloud_visitors" data-flag-title="MyBatis缓存机制" title="阅读次数">
+    <span id="/posts/ce4f4d1f.html" class="post-meta-item leancloud_visitors" data-flag-title="CAS操作和ABA问题" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -804,10 +768,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>MyBatis提供了强大的事务性查询缓存机制,用于提高查询性能!</p>
+          <p>多线程开发中,通常会加锁做并发控制,但是加锁会让性能降低,因此有了CAS操作,但CAS操作会引发ABA问题。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/201dbebe.html#more" rel="contents">
+              <a class="btn" href="/posts/ce4f4d1f.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -838,7 +802,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/36fb1fe.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/7ae49b47.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -851,7 +815,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/36fb1fe.html" class="post-title-link" itemprop="url">Git常见使用问题</a>
+          <a href="/posts/7ae49b47.html" class="post-title-link" itemprop="url">CAP理论和BASE理论</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -861,36 +825,22 @@
         <i class="far fa-calendar"></i>
         <i class="far fa-calendar"></i>
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
+      
 
 
-      <time title="创建时间:2021-04-03 09:38:02" itemprop="dateCreated datePublished" datetime="2021-04-03T09:38:02+08:00">2021-04-03</time>
+      <time title="创建时间:2021-04-06 15:56:26 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T15:56:26+08:00">2021-04-06</time>
     </span>
     </span>
-      <span class="post-meta-item">
-        <span class="post-meta-item-icon">
-          <i class="far fa-calendar-check"></i>
-        </span>
-        <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
-      </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-folder"></i>
         <i class="far fa-folder"></i>
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">工具</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">开发工具</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/Git/" itemprop="url" rel="index"><span itemprop="name">Git</span></a>
+          <a href="/categories/%E5%88%86%E5%B8%83%E5%BC%8F/" itemprop="url" rel="index"><span itemprop="name">分布式</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/36fb1fe.html" class="post-meta-item leancloud_visitors" data-flag-title="Git常见使用问题" title="阅读次数">
+    <span id="/posts/7ae49b47.html" class="post-meta-item leancloud_visitors" data-flag-title="CAP理论和BASE理论" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -906,10 +856,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>Git是使用频率非常高的一个工具,在使用过程中遇到过不少的问题,现在汇总一下遇到过的问题以及对应的解决方法。</p>
+          <p>说起分布式肯定绕不开两个理论:CAP理论和BASE理论。限于水平有限,本篇文章仅作记录用。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/36fb1fe.html#more" rel="contents">
+              <a class="btn" href="/posts/7ae49b47.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -940,7 +890,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/b4c6dbe7.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/9a65c93a.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -953,7 +903,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/b4c6dbe7.html" class="post-title-link" itemprop="url">Windows下的包管理工具scoop</a>
+          <a href="/posts/9a65c93a.html" class="post-title-link" itemprop="url">wait()和sleep()方法的区别</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -963,32 +913,26 @@
         <i class="far fa-calendar"></i>
         <i class="far fa-calendar"></i>
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
+      
 
 
-      <time title="创建时间:2021-04-03 07:07:20" itemprop="dateCreated datePublished" datetime="2021-04-03T07:07:20+08:00">2021-04-03</time>
+      <time title="创建时间:2021-04-06 15:42:43 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T15:42:43+08:00">2021-04-06</time>
     </span>
     </span>
-      <span class="post-meta-item">
-        <span class="post-meta-item-icon">
-          <i class="far fa-calendar-check"></i>
-        </span>
-        <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
-      </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-folder"></i>
         <i class="far fa-folder"></i>
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">工具</span></a>
+          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
         </span>
         </span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/scoop/" itemprop="url" rel="index"><span itemprop="name">scoop</span></a>
+          <a href="/categories/Java/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/b4c6dbe7.html" class="post-meta-item leancloud_visitors" data-flag-title="Windows下的包管理工具scoop" title="阅读次数">
+    <span id="/posts/9a65c93a.html" class="post-meta-item leancloud_visitors" data-flag-title="wait()和sleep()方法的区别" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -1004,10 +948,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>在Windows系统上,安装软件总是要到官网上去下载安装,又不想使用XX管家类的软件,因此如果有像Linux上的包管理工具就方便了,<em>scoop</em>就是Windows下的包管理工具!</p>
+          <p>多线程开发中,让线程暂停执行是常见场景,Java提供了*sleep()<em>和</em>wait()*两种实现方法,但在具体使用上又有稍微差别。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/b4c6dbe7.html#more" rel="contents">
+              <a class="btn" href="/posts/9a65c93a.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -1038,7 +982,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/11188dee.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/c6b69b48.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -1051,7 +995,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/11188dee.html" class="post-title-link" itemprop="url">事务操作和事务自动提交</a>
+          <a href="/posts/c6b69b48.html" class="post-title-link" itemprop="url">线程和线程池的关闭</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -1062,14 +1006,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-04-02 16:27:30" itemprop="dateCreated datePublished" datetime="2021-04-02T16:27:30+08:00">2021-04-02</time>
+      <time title="创建时间:2021-04-05 21:13:26" itemprop="dateCreated datePublished" datetime="2021-04-05T21:13:26+08:00">2021-04-05</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -1077,12 +1021,16 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/" itemprop="url" rel="index"><span itemprop="name">数据库</span></a>
+          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/11188dee.html" class="post-meta-item leancloud_visitors" data-flag-title="事务操作和事务自动提交" title="阅读次数">
+    <span id="/posts/c6b69b48.html" class="post-meta-item leancloud_visitors" data-flag-title="线程和线程池的关闭" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -1098,10 +1046,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>写了这么久的SQL,怎么手动操作事务竟然快忘了,是时候复习一下了。</p>
+          <p>为了最大限度的提高系统性能,线程和线程池的使用都是必不可少的,使用后往往面临一个相同的问题:关闭!</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/11188dee.html#more" rel="contents">
+              <a class="btn" href="/posts/c6b69b48.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -1132,7 +1080,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/5874180.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/2871eb40.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -1145,7 +1093,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/5874180.html" class="post-title-link" itemprop="url">数据库事务</a>
+          <a href="/posts/2871eb40.html" class="post-title-link" itemprop="url">String、StringBuilder和StringBuffer</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -1156,14 +1104,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-04-02 15:40:13" itemprop="dateCreated datePublished" datetime="2021-04-02T15:40:13+08:00">2021-04-02</time>
+      <time title="创建时间:2021-04-05 15:13:37" itemprop="dateCreated datePublished" datetime="2021-04-05T15:13:37+08:00">2021-04-05</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -1171,12 +1119,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/" itemprop="url" rel="index"><span itemprop="name">数据库</span></a>
+          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/5874180.html" class="post-meta-item leancloud_visitors" data-flag-title="数据库事务" title="阅读次数">
+    <span id="/posts/2871eb40.html" class="post-meta-item leancloud_visitors" data-flag-title="String、StringBuilder和StringBuffer" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -1192,10 +1140,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>事务是数据库中经常碰到的一个概念,总结一下相关知识,汇总对事务的理解。</p>
+          <p>String是Java中使用频率极高的一个类,但由于其是不可变,因此有StringBuffer和StringBuilder两个类来弥补在大量修改场景下的不足。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/5874180.html#more" rel="contents">
+              <a class="btn" href="/posts/2871eb40.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -1219,7 +1167,7 @@
 
 
 
 
   <nav class="pagination">
   <nav class="pagination">
-    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><span class="space">&hellip;</span><a class="page-number" href="/page/4/">4</a><a class="extend next" rel="next" href="/page/2/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
+    <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><span class="space">&hellip;</span><a class="page-number" href="/page/5/">5</a><a class="extend next" rel="next" href="/page/2/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
   </nav>
   </nav>
 
 
 
 

+ 112 - 85
page/2/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/e0bb8399.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/12626135.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -283,7 +283,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/e0bb8399.html" class="post-title-link" itemprop="url">Redis的淘汰策略</a>
+          <a href="/posts/12626135.html" class="post-title-link" itemprop="url">双向链表和双向循环链表</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -294,14 +294,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-29 20:59:27" itemprop="dateCreated datePublished" datetime="2021-03-29T20:59:27+08:00">2021-03-29</time>
+      <time title="创建时间:2021-04-04 17:29:58" itemprop="dateCreated datePublished" datetime="2021-04-04T17:29:58+08:00">2021-04-04</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -309,12 +309,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Redis/" itemprop="url" rel="index"><span itemprop="name">Redis</span></a>
+          <a href="/categories/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" itemprop="url" rel="index"><span itemprop="name">数据结构</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/e0bb8399.html" class="post-meta-item leancloud_visitors" data-flag-title="Redis的淘汰策略" title="阅读次数">
+    <span id="/posts/12626135.html" class="post-meta-item leancloud_visitors" data-flag-title="双向链表和双向循环链表" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -330,10 +330,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>redis共有8种淘汰策略。具体可分成3种类型。</p>
+          <p>双向链表是一种非常常用的数据结构,在双向链表的基础上还有一个双向循环链表。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/e0bb8399.html#more" rel="contents">
+              <a class="btn" href="/posts/12626135.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -364,7 +364,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/7b35ed44.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/c80e1ec8.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -377,7 +377,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/7b35ed44.html" class="post-title-link" itemprop="url">Redis的5种基本数据类型</a>
+          <a href="/posts/c80e1ec8.html" class="post-title-link" itemprop="url">Java基本数据类型</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -388,14 +388,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-29 20:59:13" itemprop="dateCreated datePublished" datetime="2021-03-29T20:59:13+08:00">2021-03-29</time>
+      <time title="创建时间:2021-04-04 16:32:14" itemprop="dateCreated datePublished" datetime="2021-04-04T16:32:14+08:00">2021-04-04</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -403,12 +403,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Redis/" itemprop="url" rel="index"><span itemprop="name">Redis</span></a>
+          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/7b35ed44.html" class="post-meta-item leancloud_visitors" data-flag-title="Redis的5种基本数据类型" title="阅读次数">
+    <span id="/posts/c80e1ec8.html" class="post-meta-item leancloud_visitors" data-flag-title="Java基本数据类型" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -424,10 +424,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>redis有5种基本数据类型:string,list,hash,set,sorted set。</p>
+          <p>要用Java必然绕不开它的基本数据类型,</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/7b35ed44.html#more" rel="contents">
+              <a class="btn" href="/posts/c80e1ec8.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -458,7 +458,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/9589c4d2.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/daf2aad3.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -471,7 +471,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/9589c4d2.html" class="post-title-link" itemprop="url">Redis的3种持久化方式</a>
+          <a href="/posts/daf2aad3.html" class="post-title-link" itemprop="url">MyBatis的占位符</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -482,14 +482,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-29 20:58:58" itemprop="dateCreated datePublished" datetime="2021-03-29T20:58:58+08:00">2021-03-29</time>
+      <time title="创建时间:2021-04-03 22:32:18" itemprop="dateCreated datePublished" datetime="2021-04-03T22:32:18+08:00">2021-04-03</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -497,12 +497,20 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Redis/" itemprop="url" rel="index"><span itemprop="name">Redis</span></a>
+          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/%E6%A1%86%E6%9E%B6/" itemprop="url" rel="index"><span itemprop="name">框架</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/%E6%A1%86%E6%9E%B6/MyBatis/" itemprop="url" rel="index"><span itemprop="name">MyBatis</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/9589c4d2.html" class="post-meta-item leancloud_visitors" data-flag-title="Redis的3种持久化方式" title="阅读次数">
+    <span id="/posts/daf2aad3.html" class="post-meta-item leancloud_visitors" data-flag-title="MyBatis的占位符" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -518,10 +526,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>redis提供3种持久化机制用于在重启机器或者系统故障后重用数据(恢复场景)。</p>
+          <p>代码中访问数据库的时候,经常需要传输参数用作语句条件,这就不得不用到MyBatis提供的占位符。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/9589c4d2.html#more" rel="contents">
+              <a class="btn" href="/posts/daf2aad3.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -552,7 +560,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/ecc40a95.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/201dbebe.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -565,7 +573,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/ecc40a95.html" class="post-title-link" itemprop="url">Nginx配置SSL证书</a>
+          <a href="/posts/201dbebe.html" class="post-title-link" itemprop="url">MyBatis缓存机制</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -576,14 +584,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-27 21:11:53" itemprop="dateCreated datePublished" datetime="2021-03-27T21:11:53+08:00">2021-03-27</time>
+      <time title="创建时间:2021-04-03 22:31:18" itemprop="dateCreated datePublished" datetime="2021-04-03T22:31:18+08:00">2021-04-03</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -591,12 +599,20 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Nginx/" itemprop="url" rel="index"><span itemprop="name">Nginx</span></a>
+          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/%E6%A1%86%E6%9E%B6/" itemprop="url" rel="index"><span itemprop="name">框架</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/%E6%A1%86%E6%9E%B6/MyBatis/" itemprop="url" rel="index"><span itemprop="name">MyBatis</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/ecc40a95.html" class="post-meta-item leancloud_visitors" data-flag-title="Nginx配置SSL证书" title="阅读次数">
+    <span id="/posts/201dbebe.html" class="post-meta-item leancloud_visitors" data-flag-title="MyBatis缓存机制" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -612,10 +628,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>HTTP连接是不安全的,数据是明文传输的,如果有敏感数据这就直接暴露在互联网环境下是很危险的行为,因此为Nginx配置SSL证书,使用安全的HTTPS进行访问是非常有必要的。</p>
+          <p>MyBatis提供了强大的事务性查询缓存机制,用于提高查询性能!</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/ecc40a95.html#more" rel="contents">
+              <a class="btn" href="/posts/201dbebe.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -646,7 +662,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/55e0da5c.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/36fb1fe.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -659,7 +675,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/55e0da5c.html" class="post-title-link" itemprop="url">Nginx配置为代理服务器</a>
+          <a href="/posts/36fb1fe.html" class="post-title-link" itemprop="url">Git常见使用问题</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -670,14 +686,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-27 21:11:43" itemprop="dateCreated datePublished" datetime="2021-03-27T21:11:43+08:00">2021-03-27</time>
+      <time title="创建时间:2021-04-03 09:38:02" itemprop="dateCreated datePublished" datetime="2021-04-03T09:38:02+08:00">2021-04-03</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -685,12 +701,20 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Nginx/" itemprop="url" rel="index"><span itemprop="name">Nginx</span></a>
+          <a href="/categories/%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">工具</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">开发工具</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/Git/" itemprop="url" rel="index"><span itemprop="name">Git</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/55e0da5c.html" class="post-meta-item leancloud_visitors" data-flag-title="Nginx配置为代理服务器" title="阅读次数">
+    <span id="/posts/36fb1fe.html" class="post-meta-item leancloud_visitors" data-flag-title="Git常见使用问题" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -706,10 +730,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>Nginx作为代理服务器是一个很常见的用途,例如内部有一个tomcat服务但是又不想开放8080端口,通过配置代理可以在只开放80端口的情况下访问到内部的tomcat服务了。</p>
+          <p>Git是使用频率非常高的一个工具,在使用过程中遇到过不少的问题,现在汇总一下遇到过的问题以及对应的解决方法。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/55e0da5c.html#more" rel="contents">
+              <a class="btn" href="/posts/36fb1fe.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -740,7 +764,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/4eef1a76.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/b4c6dbe7.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -753,7 +777,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/4eef1a76.html" class="post-title-link" itemprop="url">Nginx配置为文件服务器</a>
+          <a href="/posts/b4c6dbe7.html" class="post-title-link" itemprop="url">Windows下的包管理工具scoop</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -764,14 +788,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-27 21:11:43" itemprop="dateCreated datePublished" datetime="2021-03-27T21:11:43+08:00">2021-03-27</time>
+      <time title="创建时间:2021-04-03 07:07:20" itemprop="dateCreated datePublished" datetime="2021-04-03T07:07:20+08:00">2021-04-03</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -779,12 +803,16 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Nginx/" itemprop="url" rel="index"><span itemprop="name">Nginx</span></a>
+          <a href="/categories/%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">工具</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%B7%A5%E5%85%B7/scoop/" itemprop="url" rel="index"><span itemprop="name">scoop</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/4eef1a76.html" class="post-meta-item leancloud_visitors" data-flag-title="Nginx配置为文件服务器" title="阅读次数">
+    <span id="/posts/b4c6dbe7.html" class="post-meta-item leancloud_visitors" data-flag-title="Windows下的包管理工具scoop" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -800,10 +828,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>我们经常会遇到从远程服务器下载文件的情况,如果直接使用ftp或者sftp的进行下载的话,下载速度总是不甚满意,网络差的话简直让人抓狂要砸键盘了。这情况可以考虑用Nginx做文件服务器,然后使用IDM(设置为32个线程同时工作)下载,那下载速度可是杠杠的带宽都要跑满了。</p>
+          <p>在Windows系统上,安装软件总是要到官网上去下载安装,又不想使用XX管家类的软件,因此如果有像Linux上的包管理工具就方便了,<em>scoop</em>就是Windows下的包管理工具!</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/4eef1a76.html#more" rel="contents">
+              <a class="btn" href="/posts/b4c6dbe7.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -834,7 +862,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/84bf135c.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/11188dee.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -847,7 +875,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/84bf135c.html" class="post-title-link" itemprop="url">Nginx开启Gzip压缩</a>
+          <a href="/posts/11188dee.html" class="post-title-link" itemprop="url">事务操作和事务自动提交</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -858,14 +886,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-27 21:11:24" itemprop="dateCreated datePublished" datetime="2021-03-27T21:11:24+08:00">2021-03-27</time>
+      <time title="创建时间:2021-04-02 16:27:30" itemprop="dateCreated datePublished" datetime="2021-04-02T16:27:30+08:00">2021-04-02</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -873,12 +901,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Nginx/" itemprop="url" rel="index"><span itemprop="name">Nginx</span></a>
+          <a href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/" itemprop="url" rel="index"><span itemprop="name">数据库</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/84bf135c.html" class="post-meta-item leancloud_visitors" data-flag-title="Nginx开启Gzip压缩" title="阅读次数">
+    <span id="/posts/11188dee.html" class="post-meta-item leancloud_visitors" data-flag-title="事务操作和事务自动提交" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -894,10 +922,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>有些资源文件的体积比较大,开启nginx的gzip压缩,能够极大的提升传输的效率。</p>
+          <p>写了这么久的SQL,怎么手动操作事务竟然快忘了,是时候复习一下了。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/84bf135c.html#more" rel="contents">
+              <a class="btn" href="/posts/11188dee.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -928,7 +956,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/35e905e4.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/5874180.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -941,7 +969,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/35e905e4.html" class="post-title-link" itemprop="url">Linux设置时区</a>
+          <a href="/posts/5874180.html" class="post-title-link" itemprop="url">数据库事务</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -952,14 +980,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-27 21:10:45" itemprop="dateCreated datePublished" datetime="2021-03-27T21:10:45+08:00">2021-03-27</time>
+      <time title="创建时间:2021-04-02 15:40:13" itemprop="dateCreated datePublished" datetime="2021-04-02T15:40:13+08:00">2021-04-02</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -967,12 +995,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
+          <a href="/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/" itemprop="url" rel="index"><span itemprop="name">数据库</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/35e905e4.html" class="post-meta-item leancloud_visitors" data-flag-title="Linux设置时区" title="阅读次数">
+    <span id="/posts/5874180.html" class="post-meta-item leancloud_visitors" data-flag-title="数据库事务" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -988,11 +1016,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>如果服务器在国外且所在时区不一致,那么使用<code>date</code>命令查看时间的话,会看到另外一个时区的时间,为了符合生活习惯需要设置新的时区。</p>
-<p>假设一个场景:凌晨3点人少的时候重启服务器。这样写crontab定时任务就有点麻烦了,因为要以自己的时间计算服务器所在时区的时间,因此把服务器时区设置为自己生活所在的时区还是挺有必要的。</p>
+          <p>事务是数据库中经常碰到的一个概念,总结一下相关知识,汇总对事务的理解。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/35e905e4.html#more" rel="contents">
+              <a class="btn" href="/posts/5874180.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -1023,7 +1050,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/ef0b8374.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/e0bb8399.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -1036,7 +1063,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/ef0b8374.html" class="post-title-link" itemprop="url">Linux配置IPV6地址</a>
+          <a href="/posts/e0bb8399.html" class="post-title-link" itemprop="url">Redis的淘汰策略</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -1047,14 +1074,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-27 21:10:30" itemprop="dateCreated datePublished" datetime="2021-03-27T21:10:30+08:00">2021-03-27</time>
+      <time title="创建时间:2021-03-29 20:59:27" itemprop="dateCreated datePublished" datetime="2021-03-29T20:59:27+08:00">2021-03-29</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -1062,12 +1089,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
+          <a href="/categories/Redis/" itemprop="url" rel="index"><span itemprop="name">Redis</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/ef0b8374.html" class="post-meta-item leancloud_visitors" data-flag-title="Linux配置IPV6地址" title="阅读次数">
+    <span id="/posts/e0bb8399.html" class="post-meta-item leancloud_visitors" data-flag-title="Redis的淘汰策略" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -1083,10 +1110,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>一般的服务器都是没有提供IPV6地址的,但是有时候我们又会需要使用到,例如访问谷歌经常会弹出人机验证非常讨厌,这时候使用IPV6进行访问就不需要再验证了。</p>
+          <p>redis共有8种淘汰策略。具体可分成3种类型。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/ef0b8374.html#more" rel="contents">
+              <a class="btn" href="/posts/e0bb8399.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -1117,7 +1144,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/c62f803c.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/7b35ed44.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -1130,7 +1157,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/c62f803c.html" class="post-title-link" itemprop="url">Linux操作指南:02-配置防火墙端口</a>
+          <a href="/posts/7b35ed44.html" class="post-title-link" itemprop="url">Redis的5种基本数据类型</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -1141,14 +1168,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-27 21:10:14" itemprop="dateCreated datePublished" datetime="2021-03-27T21:10:14+08:00">2021-03-27</time>
+      <time title="创建时间:2021-03-29 20:59:13" itemprop="dateCreated datePublished" datetime="2021-03-29T20:59:13+08:00">2021-03-29</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -1156,12 +1183,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
+          <a href="/categories/Redis/" itemprop="url" rel="index"><span itemprop="name">Redis</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/c62f803c.html" class="post-meta-item leancloud_visitors" data-flag-title="Linux操作指南:02-配置防火墙端口" title="阅读次数">
+    <span id="/posts/7b35ed44.html" class="post-meta-item leancloud_visitors" data-flag-title="Redis的5种基本数据类型" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -1177,10 +1204,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>新装的Linux系统,ssh、nginx、tomcat等各种服务都安装好了,可是在外网却访问不了??这十有八九是防火墙的端口没有打开了。</p>
+          <p>redis有5种基本数据类型:string,list,hash,set,sorted set。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/c62f803c.html#more" rel="contents">
+              <a class="btn" href="/posts/7b35ed44.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -1204,7 +1231,7 @@
 
 
 
 
   <nav class="pagination">
   <nav class="pagination">
-    <a class="extend prev" rel="prev" href="/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/">1</a><span class="page-number current">2</span><a class="page-number" href="/page/3/">3</a><a class="page-number" href="/page/4/">4</a><a class="extend next" rel="next" href="/page/3/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
+    <a class="extend prev" rel="prev" href="/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/">1</a><span class="page-number current">2</span><a class="page-number" href="/page/3/">3</a><span class="space">&hellip;</span><a class="page-number" href="/page/5/">5</a><a class="extend next" rel="next" href="/page/3/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
   </nav>
   </nav>
 
 
 
 

+ 93 - 104
page/3/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/bdb89eee.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/9589c4d2.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -283,7 +283,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/bdb89eee.html" class="post-title-link" itemprop="url">Gogs配置为服务开机自启动</a>
+          <a href="/posts/9589c4d2.html" class="post-title-link" itemprop="url">Redis的3种持久化方式</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -294,14 +294,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-27 21:09:44" itemprop="dateCreated datePublished" datetime="2021-03-27T21:09:44+08:00">2021-03-27</time>
+      <time title="创建时间:2021-03-29 20:58:58" itemprop="dateCreated datePublished" datetime="2021-03-29T20:58:58+08:00">2021-03-29</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -309,20 +309,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">工具</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">开发工具</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/Gogs/" itemprop="url" rel="index"><span itemprop="name">Gogs</span></a>
+          <a href="/categories/Redis/" itemprop="url" rel="index"><span itemprop="name">Redis</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/bdb89eee.html" class="post-meta-item leancloud_visitors" data-flag-title="Gogs配置为服务开机自启动" title="阅读次数">
+    <span id="/posts/9589c4d2.html" class="post-meta-item leancloud_visitors" data-flag-title="Redis的3种持久化方式" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -338,10 +330,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p><code>Gogs是一款极易搭建的自助 Git 服务</code>,安装起来也确实是这样,在安装目录下输入命令<code>./gogs web</code>就能启动Gogs服务,但如果是通过二进制方式进行安装每次都要输入命令拉起服务就很不方便了,因此需要手动把Gogs配置为Linux服务并开机自启动。</p>
+          <p>redis提供3种持久化机制用于在重启机器或者系统故障后重用数据(恢复场景)。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/bdb89eee.html#more" rel="contents">
+              <a class="btn" href="/posts/9589c4d2.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -372,7 +364,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/f31ac7c3.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/ecc40a95.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -385,7 +377,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/f31ac7c3.html" class="post-title-link" itemprop="url">docker服务及其容器自启动</a>
+          <a href="/posts/ecc40a95.html" class="post-title-link" itemprop="url">Nginx配置SSL证书</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -396,14 +388,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2021-03-27 21:08:56" itemprop="dateCreated datePublished" datetime="2021-03-27T21:08:56+08:00">2021-03-27</time>
+      <time title="创建时间:2021-03-27 21:11:53" itemprop="dateCreated datePublished" datetime="2021-03-27T21:11:53+08:00">2021-03-27</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -411,12 +403,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Docker/" itemprop="url" rel="index"><span itemprop="name">Docker</span></a>
+          <a href="/categories/Nginx/" itemprop="url" rel="index"><span itemprop="name">Nginx</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/f31ac7c3.html" class="post-meta-item leancloud_visitors" data-flag-title="docker服务及其容器自启动" title="阅读次数">
+    <span id="/posts/ecc40a95.html" class="post-meta-item leancloud_visitors" data-flag-title="Nginx配置SSL证书" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -432,10 +424,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>服务器重启后docker服务和容器都会停止运行,如果每次都手动启动的话就很繁琐了,因此配置为自启动就很有必要了。</p>
+          <p>HTTP连接是不安全的,数据是明文传输的,如果有敏感数据这就直接暴露在互联网环境下是很危险的行为,因此为Nginx配置SSL证书,使用安全的HTTPS进行访问是非常有必要的。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/f31ac7c3.html#more" rel="contents">
+              <a class="btn" href="/posts/ecc40a95.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -466,7 +458,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/1eb05570.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/55e0da5c.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -479,7 +471,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/1eb05570.html" class="post-title-link" itemprop="url">Linux操作指南:01-新建用户</a>
+          <a href="/posts/55e0da5c.html" class="post-title-link" itemprop="url">Nginx配置为代理服务器</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -490,14 +482,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2020-01-10 22:43:20" itemprop="dateCreated datePublished" datetime="2020-01-10T22:43:20+08:00">2020-01-10</time>
+      <time title="创建时间:2021-03-27 21:11:43" itemprop="dateCreated datePublished" datetime="2021-03-27T21:11:43+08:00">2021-03-27</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -505,12 +497,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
+          <a href="/categories/Nginx/" itemprop="url" rel="index"><span itemprop="name">Nginx</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/1eb05570.html" class="post-meta-item leancloud_visitors" data-flag-title="Linux操作指南:01-新建用户" title="阅读次数">
+    <span id="/posts/55e0da5c.html" class="post-meta-item leancloud_visitors" data-flag-title="Nginx配置为代理服务器" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -526,10 +518,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>在Linux上root用户拥有最高的权限,但是多人共享root账户或者直接使用root账户都是一件危险的事情,因此新建普通用户给其它操作员是一件顺理成章的事情。</p>
+          <p>Nginx作为代理服务器是一个很常见的用途,例如内部有一个tomcat服务但是又不想开放8080端口,通过配置代理可以在只开放80端口的情况下访问到内部的tomcat服务了。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/1eb05570.html#more" rel="contents">
+              <a class="btn" href="/posts/55e0da5c.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -560,7 +552,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/4c0b6fc5.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/4eef1a76.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -573,7 +565,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/4c0b6fc5.html" class="post-title-link" itemprop="url">Java的foreach</a>
+          <a href="/posts/4eef1a76.html" class="post-title-link" itemprop="url">Nginx配置为文件服务器</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -584,14 +576,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-10-31 12:31:13" itemprop="dateCreated datePublished" datetime="2019-10-31T12:31:13+08:00">2019-10-31</time>
+      <time title="创建时间:2021-03-27 21:11:43" itemprop="dateCreated datePublished" datetime="2021-03-27T21:11:43+08:00">2021-03-27</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -599,12 +591,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
+          <a href="/categories/Nginx/" itemprop="url" rel="index"><span itemprop="name">Nginx</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/4c0b6fc5.html" class="post-meta-item leancloud_visitors" data-flag-title="Java的foreach" title="阅读次数">
+    <span id="/posts/4eef1a76.html" class="post-meta-item leancloud_visitors" data-flag-title="Nginx配置为文件服务器" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -620,10 +612,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>开发中经常使用到foreach,现在是时候深入了解一下了。</p>
+          <p>我们经常会遇到从远程服务器下载文件的情况,如果直接使用ftp或者sftp的进行下载的话,下载速度总是不甚满意,网络差的话简直让人抓狂要砸键盘了。这情况可以考虑用Nginx做文件服务器,然后使用IDM(设置为32个线程同时工作)下载,那下载速度可是杠杠的带宽都要跑满了。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/4c0b6fc5.html#more" rel="contents">
+              <a class="btn" href="/posts/4eef1a76.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -654,7 +646,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/35b60266.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/84bf135c.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -667,7 +659,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/35b60266.html" class="post-title-link" itemprop="url">Map的N种遍历方法</a>
+          <a href="/posts/84bf135c.html" class="post-title-link" itemprop="url">Nginx开启Gzip压缩</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -678,14 +670,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-10-30 22:26:47" itemprop="dateCreated datePublished" datetime="2019-10-30T22:26:47+08:00">2019-10-30</time>
+      <time title="创建时间:2021-03-27 21:11:24" itemprop="dateCreated datePublished" datetime="2021-03-27T21:11:24+08:00">2021-03-27</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -693,12 +685,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
+          <a href="/categories/Nginx/" itemprop="url" rel="index"><span itemprop="name">Nginx</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/35b60266.html" class="post-meta-item leancloud_visitors" data-flag-title="Map的N种遍历方法" title="阅读次数">
+    <span id="/posts/84bf135c.html" class="post-meta-item leancloud_visitors" data-flag-title="Nginx开启Gzip压缩" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -714,10 +706,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>开发中经常要使用到集合类Map,现在让我们来研究一下究竟有多少种遍历方法吧。</p>
+          <p>有些资源文件的体积比较大,开启nginx的gzip压缩,能够极大的提升传输的效率。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/35b60266.html#more" rel="contents">
+              <a class="btn" href="/posts/84bf135c.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -748,7 +740,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/e38e4cbe.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/35e905e4.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -761,7 +753,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/e38e4cbe.html" class="post-title-link" itemprop="url">MySQL存储IP地址</a>
+          <a href="/posts/35e905e4.html" class="post-title-link" itemprop="url">Linux设置时区</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -772,14 +764,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-10-26 17:07:44" itemprop="dateCreated datePublished" datetime="2019-10-26T17:07:44+08:00">2019-10-26</time>
+      <time title="创建时间:2021-03-27 21:10:45" itemprop="dateCreated datePublished" datetime="2021-03-27T21:10:45+08:00">2021-03-27</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -787,12 +779,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/MySQL/" itemprop="url" rel="index"><span itemprop="name">MySQL</span></a>
+          <a href="/categories/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/e38e4cbe.html" class="post-meta-item leancloud_visitors" data-flag-title="MySQL存储IP地址" title="阅读次数">
+    <span id="/posts/35e905e4.html" class="post-meta-item leancloud_visitors" data-flag-title="Linux设置时区" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -808,10 +800,11 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>在MySQL中,没有专门用于存储IP地址的数据类型,但是可以使用inet_aton()函数把IP地址转换成整型数值进行存储,使用inet_ntoa()函数把整型数值转换回IP地址。</p>
+          <p>如果服务器在国外且所在时区不一致,那么使用<code>date</code>命令查看时间的话,会看到另外一个时区的时间,为了符合生活习惯需要设置新的时区。</p>
+<p>假设一个场景:凌晨3点人少的时候重启服务器。这样写crontab定时任务就有点麻烦了,因为要以自己的时间计算服务器所在时区的时间,因此把服务器时区设置为自己生活所在的时区还是挺有必要的。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/e38e4cbe.html#more" rel="contents">
+              <a class="btn" href="/posts/35e905e4.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -842,7 +835,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/a7ec3638.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/ef0b8374.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -855,7 +848,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/a7ec3638.html" class="post-title-link" itemprop="url">MySQL开发时异常记录</a>
+          <a href="/posts/ef0b8374.html" class="post-title-link" itemprop="url">Linux配置IPV6地址</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -866,14 +859,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-10-25 23:03:02" itemprop="dateCreated datePublished" datetime="2019-10-25T23:03:02+08:00">2019-10-25</time>
+      <time title="创建时间:2021-03-27 21:10:30" itemprop="dateCreated datePublished" datetime="2021-03-27T21:10:30+08:00">2021-03-27</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -881,12 +874,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/MySQL/" itemprop="url" rel="index"><span itemprop="name">MySQL</span></a>
+          <a href="/categories/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/a7ec3638.html" class="post-meta-item leancloud_visitors" data-flag-title="MySQL开发时异常记录" title="阅读次数">
+    <span id="/posts/ef0b8374.html" class="post-meta-item leancloud_visitors" data-flag-title="Linux配置IPV6地址" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -902,10 +895,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>记录开发过程中遇到过的MySQL异常。</p>
+          <p>一般的服务器都是没有提供IPV6地址的,但是有时候我们又会需要使用到,例如访问谷歌经常会弹出人机验证非常讨厌,这时候使用IPV6进行访问就不需要再验证了。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/a7ec3638.html#more" rel="contents">
+              <a class="btn" href="/posts/ef0b8374.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -936,7 +929,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/3d0562c8.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/c62f803c.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -949,7 +942,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/3d0562c8.html" class="post-title-link" itemprop="url">IDEA输出中文乱码解决方法</a>
+          <a href="/posts/c62f803c.html" class="post-title-link" itemprop="url">Linux操作指南:02-配置防火墙端口</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -960,14 +953,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-10-23 21:37:47" itemprop="dateCreated datePublished" datetime="2019-10-23T21:37:47+08:00">2019-10-23</time>
+      <time title="创建时间:2021-03-27 21:10:14" itemprop="dateCreated datePublished" datetime="2021-03-27T21:10:14+08:00">2021-03-27</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -975,20 +968,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">工具</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">开发工具</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/IDEA/" itemprop="url" rel="index"><span itemprop="name">IDEA</span></a>
+          <a href="/categories/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/3d0562c8.html" class="post-meta-item leancloud_visitors" data-flag-title="IDEA输出中文乱码解决方法" title="阅读次数">
+    <span id="/posts/c62f803c.html" class="post-meta-item leancloud_visitors" data-flag-title="Linux操作指南:02-配置防火墙端口" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -1004,10 +989,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>IDEA输出中文乱码是个常见的问题了,记录下问题的解决方法,以及网上方法无效的原因。</p>
+          <p>新装的Linux系统,ssh、nginx、tomcat等各种服务都安装好了,可是在外网却访问不了??这十有八九是防火墙的端口没有打开了。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/3d0562c8.html#more" rel="contents">
+              <a class="btn" href="/posts/c62f803c.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -1038,7 +1023,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/d1f7f56f.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/bdb89eee.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -1051,7 +1036,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/d1f7f56f.html" class="post-title-link" itemprop="url">深入操作系统-01环境创建</a>
+          <a href="/posts/bdb89eee.html" class="post-title-link" itemprop="url">Gogs配置为服务开机自启动</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -1062,14 +1047,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-10-10 21:29:20" itemprop="dateCreated datePublished" datetime="2019-10-10T21:29:20+08:00">2019-10-10</time>
+      <time title="创建时间:2021-03-27 21:09:44" itemprop="dateCreated datePublished" datetime="2021-03-27T21:09:44+08:00">2021-03-27</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -1077,12 +1062,20 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/" itemprop="url" rel="index"><span itemprop="name">操作系统</span></a>
+          <a href="/categories/%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">工具</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">开发工具</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/Gogs/" itemprop="url" rel="index"><span itemprop="name">Gogs</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/d1f7f56f.html" class="post-meta-item leancloud_visitors" data-flag-title="深入操作系统-01环境创建" title="阅读次数">
+    <span id="/posts/bdb89eee.html" class="post-meta-item leancloud_visitors" data-flag-title="Gogs配置为服务开机自启动" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -1098,10 +1091,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>要开发一个操作系统,搭建开发环境是必不可少的,本篇文章就介绍如何使用Linux、bochs搭建开发环境。</p>
+          <p><code>Gogs是一款极易搭建的自助 Git 服务</code>,安装起来也确实是这样,在安装目录下输入命令<code>./gogs web</code>就能启动Gogs服务,但如果是通过二进制方式进行安装每次都要输入命令拉起服务就很不方便了,因此需要手动把Gogs配置为Linux服务并开机自启动。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/d1f7f56f.html#more" rel="contents">
+              <a class="btn" href="/posts/bdb89eee.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -1132,7 +1125,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/ab6871d9.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/f31ac7c3.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -1145,7 +1138,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/ab6871d9.html" class="post-title-link" itemprop="url">科学的重复</a>
+          <a href="/posts/f31ac7c3.html" class="post-title-link" itemprop="url">docker服务及其容器自启动</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -1156,14 +1149,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-06-24 23:06:19" itemprop="dateCreated datePublished" datetime="2019-06-24T23:06:19+08:00">2019-06-24</time>
+      <time title="创建时间:2021-03-27 21:08:56" itemprop="dateCreated datePublished" datetime="2021-03-27T21:08:56+08:00">2021-03-27</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -1171,16 +1164,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%AD%A6%E4%B9%A0/" itemprop="url" rel="index"><span itemprop="name">学习</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%AD%A6%E4%B9%A0/%E8%AE%B0%E5%BF%86/" itemprop="url" rel="index"><span itemprop="name">记忆</span></a>
+          <a href="/categories/Docker/" itemprop="url" rel="index"><span itemprop="name">Docker</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/ab6871d9.html" class="post-meta-item leancloud_visitors" data-flag-title="科学的重复" title="阅读次数">
+    <span id="/posts/f31ac7c3.html" class="post-meta-item leancloud_visitors" data-flag-title="docker服务及其容器自启动" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -1196,10 +1185,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>想要学习效果好,记忆是个绕不开的话题,通过科学的重复记忆,就能显著的提高记忆效果。</p>
+          <p>服务器重启后docker服务和容器都会停止运行,如果每次都手动启动的话就很繁琐了,因此配置为自启动就很有必要了。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/ab6871d9.html#more" rel="contents">
+              <a class="btn" href="/posts/f31ac7c3.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -1223,7 +1212,7 @@
 
 
 
 
   <nav class="pagination">
   <nav class="pagination">
-    <a class="extend prev" rel="prev" href="/page/2/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/">1</a><a class="page-number" href="/page/2/">2</a><span class="page-number current">3</span><a class="page-number" href="/page/4/">4</a><a class="extend next" rel="next" href="/page/4/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
+    <a class="extend prev" rel="prev" href="/page/2/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/">1</a><a class="page-number" href="/page/2/">2</a><span class="page-number current">3</span><a class="page-number" href="/page/4/">4</a><a class="page-number" href="/page/5/">5</a><a class="extend next" rel="next" href="/page/4/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
   </nav>
   </nav>
 
 
 
 

+ 363 - 69
page/4/index.html

@@ -209,20 +209,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -270,7 +270,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/b1bd9b76.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/1eb05570.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -283,7 +283,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/b1bd9b76.html" class="post-title-link" itemprop="url">架构师的思考层次</a>
+          <a href="/posts/1eb05570.html" class="post-title-link" itemprop="url">Linux操作指南:01-新建用户</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -294,14 +294,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-06-24 22:33:08" itemprop="dateCreated datePublished" datetime="2019-06-24T22:33:08+08:00">2019-06-24</time>
+      <time title="创建时间:2020-01-10 22:43:20" itemprop="dateCreated datePublished" datetime="2020-01-10T22:43:20+08:00">2020-01-10</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -309,12 +309,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E6%9E%B6%E6%9E%84%E5%B8%88/" itemprop="url" rel="index"><span itemprop="name">架构师</span></a>
+          <a href="/categories/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/b1bd9b76.html" class="post-meta-item leancloud_visitors" data-flag-title="架构师的思考层次" title="阅读次数">
+    <span id="/posts/1eb05570.html" class="post-meta-item leancloud_visitors" data-flag-title="Linux操作指南:01-新建用户" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -330,10 +330,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>作为一个架构师,在面对一个产品的时候应该怎么进行思考呢?</p>
+          <p>在Linux上root用户拥有最高的权限,但是多人共享root账户或者直接使用root账户都是一件危险的事情,因此新建普通用户给其它操作员是一件顺理成章的事情。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/b1bd9b76.html#more" rel="contents">
+              <a class="btn" href="/posts/1eb05570.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -364,7 +364,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/b9577586.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/4c0b6fc5.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -377,7 +377,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/b9577586.html" class="post-title-link" itemprop="url">斐讯N1刷机后操作</a>
+          <a href="/posts/4c0b6fc5.html" class="post-title-link" itemprop="url">Java的foreach</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -388,14 +388,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-06-22 15:43:04" itemprop="dateCreated datePublished" datetime="2019-06-22T15:43:04+08:00">2019-06-22</time>
+      <time title="创建时间:2019-10-31 12:31:13" itemprop="dateCreated datePublished" datetime="2019-10-31T12:31:13+08:00">2019-10-31</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -403,16 +403,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E6%9C%89%E8%B6%A3/" itemprop="url" rel="index"><span itemprop="name">有趣</span></a>
-        </span>
-          ,
-        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E6%9C%89%E8%B6%A3/%E5%88%B7%E6%9C%BA/" itemprop="url" rel="index"><span itemprop="name">刷机</span></a>
+          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/b9577586.html" class="post-meta-item leancloud_visitors" data-flag-title="斐讯N1刷机后操作" title="阅读次数">
+    <span id="/posts/4c0b6fc5.html" class="post-meta-item leancloud_visitors" data-flag-title="Java的foreach" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -428,10 +424,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>N1刷机成功后,为了方便使用,免不了要执行一些常见的配置操作或软件安装,例:更换国内软件源、安装docker、设置WIFI、安装Java环境等。</p>
+          <p>开发中经常使用到foreach,现在是时候深入了解一下了。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/b9577586.html#more" rel="contents">
+              <a class="btn" href="/posts/4c0b6fc5.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -462,7 +458,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/5d007e64.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/35b60266.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -475,7 +471,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/5d007e64.html" class="post-title-link" itemprop="url">圆周率的来历</a>
+          <a href="/posts/35b60266.html" class="post-title-link" itemprop="url">Map的N种遍历方法</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -486,14 +482,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-05-07 20:31:00" itemprop="dateCreated datePublished" datetime="2019-05-07T20:31:00+08:00">2019-05-07</time>
+      <time title="创建时间:2019-10-30 22:26:47" itemprop="dateCreated datePublished" datetime="2019-10-30T22:26:47+08:00">2019-10-30</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -501,12 +497,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E6%95%B0%E5%AD%A6/" itemprop="url" rel="index"><span itemprop="name">数学</span></a>
+          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/5d007e64.html" class="post-meta-item leancloud_visitors" data-flag-title="圆周率的来历" title="阅读次数">
+    <span id="/posts/35b60266.html" class="post-meta-item leancloud_visitors" data-flag-title="Map的N种遍历方法" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -522,10 +518,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>圆周率是通过实际<strong>测量</strong>得出的,即<strong>一个圆的周长和其直径的比率</strong>。</p>
+          <p>开发中经常要使用到集合类Map,现在让我们来研究一下究竟有多少种遍历方法吧。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/5d007e64.html#more" rel="contents">
+              <a class="btn" href="/posts/35b60266.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -556,7 +552,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/b0269417.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/e38e4cbe.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -569,7 +565,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/b0269417.html" class="post-title-link" itemprop="url">Java常用名词</a>
+          <a href="/posts/e38e4cbe.html" class="post-title-link" itemprop="url">MySQL存储IP地址</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -580,14 +576,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-04-09 16:31:43" itemprop="dateCreated datePublished" datetime="2019-04-09T16:31:43+08:00">2019-04-09</time>
+      <time title="创建时间:2019-10-26 17:07:44" itemprop="dateCreated datePublished" datetime="2019-10-26T17:07:44+08:00">2019-10-26</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -595,12 +591,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
+          <a href="/categories/MySQL/" itemprop="url" rel="index"><span itemprop="name">MySQL</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/b0269417.html" class="post-meta-item leancloud_visitors" data-flag-title="Java常用名词" title="阅读次数">
+    <span id="/posts/e38e4cbe.html" class="post-meta-item leancloud_visitors" data-flag-title="MySQL存储IP地址" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -616,10 +612,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>接触Java开发已经很长一段时间了,对于常见的名词,如:JMS、JDBC、JPA,也基本知道代表的是什么,而JNDI、JTA这些就不知道了,今天特意做个备忘录,记录下在Java中遇到的这些名词,并在后续中不断更新。</p>
+          <p>在MySQL中,没有专门用于存储IP地址的数据类型,但是可以使用inet_aton()函数把IP地址转换成整型数值进行存储,使用inet_ntoa()函数把整型数值转换回IP地址。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/b0269417.html#more" rel="contents">
+              <a class="btn" href="/posts/e38e4cbe.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -650,7 +646,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/87daa986.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/a7ec3638.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -663,7 +659,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/87daa986.html" class="post-title-link" itemprop="url">博客之2019</a>
+          <a href="/posts/a7ec3638.html" class="post-title-link" itemprop="url">MySQL开发时异常记录</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -674,14 +670,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2019-03-17 22:22:03" itemprop="dateCreated datePublished" datetime="2019-03-17T22:22:03+08:00">2019-03-17</time>
+      <time title="创建时间:2019-10-25 23:03:02" itemprop="dateCreated datePublished" datetime="2019-10-25T23:03:02+08:00">2019-10-25</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -689,12 +685,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E6%97%A5%E5%BF%97/" itemprop="url" rel="index"><span itemprop="name">日志</span></a>
+          <a href="/categories/MySQL/" itemprop="url" rel="index"><span itemprop="name">MySQL</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/87daa986.html" class="post-meta-item leancloud_visitors" data-flag-title="博客之2019" title="阅读次数">
+    <span id="/posts/a7ec3638.html" class="post-meta-item leancloud_visitors" data-flag-title="MySQL开发时异常记录" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -710,12 +706,15 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>2019年的第三个月即将过去了,现在才写这篇文章好像迟了一点,不过种一棵树最好的时间是十年前,其次是现在,这样子安慰自己的话,好像还不算晚。</p>
-<p>在2018年里仅仅写了几篇文章,不过幸运的是因为有个博客,所以总想着弄点什么来写写,从而养成了写文档的习惯,遇到不懂的、特别的都有记录下来,期望在后面的时间里写到博客上。</p>
-<p>在前段时间,突然萌生了换个博客的想法,wordpress、typecho、hugo这些都研究了一圈,感觉就像换了一个博客所有的事情都将变得会不一样似的,就像2018年里的目标并没有达成,反而是东学学西学学但并没有实质性的进展。</p>
-<p>最后的最后,其实自己需要的是一点坚持——对目标的坚持,也是对适合自己的学习方法的一个概括:坚持!每天运动一下、学习一下、记录一下,明天就会有那么一点不一样!</p>
-<p>题外话:最后还是没忍住折腾劲,对博客进行了修改,当然博客程序还是那个,但是配置上做了很多修改,对以前的文章的结构、分类、命名、内容这些也不大满意,所以也进行了修改。</p>
-
+          <p>记录开发过程中遇到过的MySQL异常。</p>
+          <!--noindex-->
+            <div class="post-button">
+              <a class="btn" href="/posts/a7ec3638.html#more" rel="contents">
+                阅读全文 &raquo;
+              </a>
+            </div>
+          <!--/noindex-->
+        
       
       
     </div>
     </div>
 
 
@@ -741,7 +740,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/c3592b96.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/3d0562c8.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -754,7 +753,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/c3592b96.html" class="post-title-link" itemprop="url">Conda</a>
+          <a href="/posts/3d0562c8.html" class="post-title-link" itemprop="url">IDEA输出中文乱码解决方法</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -765,14 +764,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2018-05-20 10:34:06" itemprop="dateCreated datePublished" datetime="2018-05-20T10:34:06+08:00">2018-05-20</time>
+      <time title="创建时间:2019-10-23 21:37:47" itemprop="dateCreated datePublished" datetime="2019-10-23T21:37:47+08:00">2019-10-23</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -788,12 +787,204 @@
         </span>
         </span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/Conda/" itemprop="url" rel="index"><span itemprop="name">Conda</span></a>
+          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/IDEA/" itemprop="url" rel="index"><span itemprop="name">IDEA</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/3d0562c8.html" class="post-meta-item leancloud_visitors" data-flag-title="IDEA输出中文乱码解决方法" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+          <p>IDEA输出中文乱码是个常见的问题了,记录下问题的解决方法,以及网上方法无效的原因。</p>
+          <!--noindex-->
+            <div class="post-button">
+              <a class="btn" href="/posts/3d0562c8.html#more" rel="contents">
+                阅读全文 &raquo;
+              </a>
+            </div>
+          <!--/noindex-->
+        
+      
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+        <div class="post-eof"></div>
+      
+    </footer>
+  </article>
+</div>
+
+
+
+
+    
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/d1f7f56f.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h2 class="post-title" itemprop="name headline">
+          <a href="/posts/d1f7f56f.html" class="post-title-link" itemprop="url">深入操作系统-01环境创建</a>
+        </h2>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+
+      <time title="创建时间:2019-10-10 21:29:20" itemprop="dateCreated datePublished" datetime="2019-10-10T21:29:20+08:00">2019-10-10</time>
+    </span>
+      <span class="post-meta-item">
+        <span class="post-meta-item-icon">
+          <i class="far fa-calendar-check"></i>
+        </span>
+        <span class="post-meta-item-text">更新于</span>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
+      </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/" itemprop="url" rel="index"><span itemprop="name">操作系统</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/d1f7f56f.html" class="post-meta-item leancloud_visitors" data-flag-title="深入操作系统-01环境创建" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+          <p>要开发一个操作系统,搭建开发环境是必不可少的,本篇文章就介绍如何使用Linux、bochs搭建开发环境。</p>
+          <!--noindex-->
+            <div class="post-button">
+              <a class="btn" href="/posts/d1f7f56f.html#more" rel="contents">
+                阅读全文 &raquo;
+              </a>
+            </div>
+          <!--/noindex-->
+        
+      
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+        <div class="post-eof"></div>
+      
+    </footer>
+  </article>
+</div>
+
+
+
+
+    
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/ab6871d9.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h2 class="post-title" itemprop="name headline">
+          <a href="/posts/ab6871d9.html" class="post-title-link" itemprop="url">科学的重复</a>
+        </h2>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+
+      <time title="创建时间:2019-06-24 23:06:19" itemprop="dateCreated datePublished" datetime="2019-06-24T23:06:19+08:00">2019-06-24</time>
+    </span>
+      <span class="post-meta-item">
+        <span class="post-meta-item-icon">
+          <i class="far fa-calendar-check"></i>
+        </span>
+        <span class="post-meta-item-text">更新于</span>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
+      </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%AD%A6%E4%B9%A0/" itemprop="url" rel="index"><span itemprop="name">学习</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%AD%A6%E4%B9%A0/%E8%AE%B0%E5%BF%86/" itemprop="url" rel="index"><span itemprop="name">记忆</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/c3592b96.html" class="post-meta-item leancloud_visitors" data-flag-title="Conda" title="阅读次数">
+    <span id="/posts/ab6871d9.html" class="post-meta-item leancloud_visitors" data-flag-title="科学的重复" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -809,10 +1000,10 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>Conda是一个包管理、依赖管理和<em>环境管理</em>工具,虽然由Python程序创建,但它可以打包并分发任何语言的软件,例如:Python, R, Ruby, Lua, Scala, Java, JavaScript, C/ C++, FORTRAN。</p>
+          <p>想要学习效果好,记忆是个绕不开的话题,通过科学的重复记忆,就能显著的提高记忆效果。</p>
           <!--noindex-->
           <!--noindex-->
             <div class="post-button">
             <div class="post-button">
-              <a class="btn" href="/posts/c3592b96.html#more" rel="contents">
+              <a class="btn" href="/posts/ab6871d9.html#more" rel="contents">
                 阅读全文 &raquo;
                 阅读全文 &raquo;
               </a>
               </a>
             </div>
             </div>
@@ -843,7 +1034,7 @@
   
   
 
 
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
   <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
-    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/40124174.html">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/b1bd9b76.html">
 
 
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
     <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
       <meta itemprop="image" content="/images/apple-touch-icon.png">
@@ -856,7 +1047,7 @@
     </span>
     </span>
       <header class="post-header">
       <header class="post-header">
         <h2 class="post-title" itemprop="name headline">
         <h2 class="post-title" itemprop="name headline">
-          <a href="/posts/40124174.html" class="post-title-link" itemprop="url">博客之始</a>
+          <a href="/posts/b1bd9b76.html" class="post-title-link" itemprop="url">架构师的思考层次</a>
         </h2>
         </h2>
 
 
         <div class="post-meta-container">
         <div class="post-meta-container">
@@ -867,14 +1058,14 @@
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
 
 
-      <time title="创建时间:2018-02-16 00:00:00" itemprop="dateCreated datePublished" datetime="2018-02-16T00:00:00+08:00">2018-02-16</time>
+      <time title="创建时间:2019-06-24 22:33:08" itemprop="dateCreated datePublished" datetime="2019-06-24T22:33:08+08:00">2019-06-24</time>
     </span>
     </span>
       <span class="post-meta-item">
       <span class="post-meta-item">
         <span class="post-meta-item-icon">
         <span class="post-meta-item-icon">
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
@@ -882,12 +1073,12 @@
       </span>
       </span>
       <span class="post-meta-item-text">分类于</span>
       <span class="post-meta-item-text">分类于</span>
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
-          <a href="/categories/%E6%97%A5%E5%BF%97/" itemprop="url" rel="index"><span itemprop="name">日志</span></a>
+          <a href="/categories/%E6%9E%B6%E6%9E%84%E5%B8%88/" itemprop="url" rel="index"><span itemprop="name">架构师</span></a>
         </span>
         </span>
     </span>
     </span>
 
 
   
   
-    <span id="/posts/40124174.html" class="post-meta-item leancloud_visitors" data-flag-title="博客之始" title="阅读次数">
+    <span id="/posts/b1bd9b76.html" class="post-meta-item leancloud_visitors" data-flag-title="架构师的思考层次" title="阅读次数">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-eye"></i>
         <i class="far fa-eye"></i>
       </span>
       </span>
@@ -903,10 +1094,113 @@
     
     
     
     
     <div class="post-body" itemprop="articleBody">
     <div class="post-body" itemprop="articleBody">
-          <p>以前总是看别人写的博客,用OneNote做的笔记,当面试的时候被问到:你有写博客吗?我的回答是NO!  那时候以为写博客离自己很遥远,觉得自己的水平低写不出什么东西来,但是现在仔细想想,不正是因为自己的水平低才更要写博客吗!</p>
-<p>通过写博客来做笔记并且加入自己的思考,摆脱以前一贯的只记忆不思考的习惯,一次又一次地修改完善,才能更好的提高自己的能力。</p>
-<p>在这特殊的一天,踏出新的一步,祝2018年大家越来越好!</p>
+          <p>作为一个架构师,在面对一个产品的时候应该怎么进行思考呢?</p>
+          <!--noindex-->
+            <div class="post-button">
+              <a class="btn" href="/posts/b1bd9b76.html#more" rel="contents">
+                阅读全文 &raquo;
+              </a>
+            </div>
+          <!--/noindex-->
+        
+      
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+        <div class="post-eof"></div>
+      
+    </footer>
+  </article>
+</div>
+
+
+
+
+    
 
 
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/b9577586.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h2 class="post-title" itemprop="name headline">
+          <a href="/posts/b9577586.html" class="post-title-link" itemprop="url">斐讯N1刷机后操作</a>
+        </h2>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+
+      <time title="创建时间:2019-06-22 15:43:04" itemprop="dateCreated datePublished" datetime="2019-06-22T15:43:04+08:00">2019-06-22</time>
+    </span>
+      <span class="post-meta-item">
+        <span class="post-meta-item-icon">
+          <i class="far fa-calendar-check"></i>
+        </span>
+        <span class="post-meta-item-text">更新于</span>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
+      </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E6%9C%89%E8%B6%A3/" itemprop="url" rel="index"><span itemprop="name">有趣</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E6%9C%89%E8%B6%A3/%E5%88%B7%E6%9C%BA/" itemprop="url" rel="index"><span itemprop="name">刷机</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/b9577586.html" class="post-meta-item leancloud_visitors" data-flag-title="斐讯N1刷机后操作" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+          <p>N1刷机成功后,为了方便使用,免不了要执行一些常见的配置操作或软件安装,例:更换国内软件源、安装docker、设置WIFI、安装Java环境等。</p>
+          <!--noindex-->
+            <div class="post-button">
+              <a class="btn" href="/posts/b9577586.html#more" rel="contents">
+                阅读全文 &raquo;
+              </a>
+            </div>
+          <!--/noindex-->
+        
       
       
     </div>
     </div>
 
 
@@ -925,7 +1219,7 @@
 
 
 
 
   <nav class="pagination">
   <nav class="pagination">
-    <a class="extend prev" rel="prev" href="/page/3/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/3/">3</a><span class="page-number current">4</span>
+    <a class="extend prev" rel="prev" href="/page/3/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/3/">3</a><span class="page-number current">4</span><a class="page-number" href="/page/5/">5</a><a class="extend next" rel="next" href="/page/5/"><i class="fa fa-angle-right" aria-label="下一页"></i></a>
   </nav>
   </nav>
 
 
 
 

+ 890 - 0
page/5/index.html

@@ -0,0 +1,890 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:type" content="website">
+<meta property="og:title" content="知行">
+<meta property="og:url" content="https://blog.izhixing.icu/page/5/index.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:author" content="知行">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/page/5/">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : true,
+    isPost : false,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-overview-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner index posts-expand">
+
+    
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/5d007e64.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h2 class="post-title" itemprop="name headline">
+          <a href="/posts/5d007e64.html" class="post-title-link" itemprop="url">圆周率的来历</a>
+        </h2>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+
+      <time title="创建时间:2019-05-07 20:31:00" itemprop="dateCreated datePublished" datetime="2019-05-07T20:31:00+08:00">2019-05-07</time>
+    </span>
+      <span class="post-meta-item">
+        <span class="post-meta-item-icon">
+          <i class="far fa-calendar-check"></i>
+        </span>
+        <span class="post-meta-item-text">更新于</span>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
+      </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E6%95%B0%E5%AD%A6/" itemprop="url" rel="index"><span itemprop="name">数学</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/5d007e64.html" class="post-meta-item leancloud_visitors" data-flag-title="圆周率的来历" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+          <p>圆周率是通过实际<strong>测量</strong>得出的,即<strong>一个圆的周长和其直径的比率</strong>。</p>
+          <!--noindex-->
+            <div class="post-button">
+              <a class="btn" href="/posts/5d007e64.html#more" rel="contents">
+                阅读全文 &raquo;
+              </a>
+            </div>
+          <!--/noindex-->
+        
+      
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+        <div class="post-eof"></div>
+      
+    </footer>
+  </article>
+</div>
+
+
+
+
+    
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/b0269417.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h2 class="post-title" itemprop="name headline">
+          <a href="/posts/b0269417.html" class="post-title-link" itemprop="url">Java常用名词</a>
+        </h2>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+
+      <time title="创建时间:2019-04-09 16:31:43" itemprop="dateCreated datePublished" datetime="2019-04-09T16:31:43+08:00">2019-04-09</time>
+    </span>
+      <span class="post-meta-item">
+        <span class="post-meta-item-icon">
+          <i class="far fa-calendar-check"></i>
+        </span>
+        <span class="post-meta-item-text">更新于</span>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
+      </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/b0269417.html" class="post-meta-item leancloud_visitors" data-flag-title="Java常用名词" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+          <p>接触Java开发已经很长一段时间了,对于常见的名词,如:JMS、JDBC、JPA,也基本知道代表的是什么,而JNDI、JTA这些就不知道了,今天特意做个备忘录,记录下在Java中遇到的这些名词,并在后续中不断更新。</p>
+          <!--noindex-->
+            <div class="post-button">
+              <a class="btn" href="/posts/b0269417.html#more" rel="contents">
+                阅读全文 &raquo;
+              </a>
+            </div>
+          <!--/noindex-->
+        
+      
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+        <div class="post-eof"></div>
+      
+    </footer>
+  </article>
+</div>
+
+
+
+
+    
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/87daa986.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h2 class="post-title" itemprop="name headline">
+          <a href="/posts/87daa986.html" class="post-title-link" itemprop="url">博客之2019</a>
+        </h2>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+
+      <time title="创建时间:2019-03-17 22:22:03" itemprop="dateCreated datePublished" datetime="2019-03-17T22:22:03+08:00">2019-03-17</time>
+    </span>
+      <span class="post-meta-item">
+        <span class="post-meta-item-icon">
+          <i class="far fa-calendar-check"></i>
+        </span>
+        <span class="post-meta-item-text">更新于</span>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
+      </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E6%97%A5%E5%BF%97/" itemprop="url" rel="index"><span itemprop="name">日志</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/87daa986.html" class="post-meta-item leancloud_visitors" data-flag-title="博客之2019" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+          <p>2019年的第三个月即将过去了,现在才写这篇文章好像迟了一点,不过种一棵树最好的时间是十年前,其次是现在,这样子安慰自己的话,好像还不算晚。</p>
+<p>在2018年里仅仅写了几篇文章,不过幸运的是因为有个博客,所以总想着弄点什么来写写,从而养成了写文档的习惯,遇到不懂的、特别的都有记录下来,期望在后面的时间里写到博客上。</p>
+<p>在前段时间,突然萌生了换个博客的想法,wordpress、typecho、hugo这些都研究了一圈,感觉就像换了一个博客所有的事情都将变得会不一样似的,就像2018年里的目标并没有达成,反而是东学学西学学但并没有实质性的进展。</p>
+<p>最后的最后,其实自己需要的是一点坚持——对目标的坚持,也是对适合自己的学习方法的一个概括:坚持!每天运动一下、学习一下、记录一下,明天就会有那么一点不一样!</p>
+<p>题外话:最后还是没忍住折腾劲,对博客进行了修改,当然博客程序还是那个,但是配置上做了很多修改,对以前的文章的结构、分类、命名、内容这些也不大满意,所以也进行了修改。</p>
+
+      
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+        <div class="post-eof"></div>
+      
+    </footer>
+  </article>
+</div>
+
+
+
+
+    
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/c3592b96.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h2 class="post-title" itemprop="name headline">
+          <a href="/posts/c3592b96.html" class="post-title-link" itemprop="url">Conda</a>
+        </h2>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+
+      <time title="创建时间:2018-05-20 10:34:06" itemprop="dateCreated datePublished" datetime="2018-05-20T10:34:06+08:00">2018-05-20</time>
+    </span>
+      <span class="post-meta-item">
+        <span class="post-meta-item-icon">
+          <i class="far fa-calendar-check"></i>
+        </span>
+        <span class="post-meta-item-text">更新于</span>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
+      </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">工具</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/" itemprop="url" rel="index"><span itemprop="name">开发工具</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%B7%A5%E5%85%B7/%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7/Conda/" itemprop="url" rel="index"><span itemprop="name">Conda</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/c3592b96.html" class="post-meta-item leancloud_visitors" data-flag-title="Conda" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+          <p>Conda是一个包管理、依赖管理和<em>环境管理</em>工具,虽然由Python程序创建,但它可以打包并分发任何语言的软件,例如:Python, R, Ruby, Lua, Scala, Java, JavaScript, C/ C++, FORTRAN。</p>
+          <!--noindex-->
+            <div class="post-button">
+              <a class="btn" href="/posts/c3592b96.html#more" rel="contents">
+                阅读全文 &raquo;
+              </a>
+            </div>
+          <!--/noindex-->
+        
+      
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+        <div class="post-eof"></div>
+      
+    </footer>
+  </article>
+</div>
+
+
+
+
+    
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/40124174.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h2 class="post-title" itemprop="name headline">
+          <a href="/posts/40124174.html" class="post-title-link" itemprop="url">博客之始</a>
+        </h2>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+
+      <time title="创建时间:2018-02-16 00:00:00" itemprop="dateCreated datePublished" datetime="2018-02-16T00:00:00+08:00">2018-02-16</time>
+    </span>
+      <span class="post-meta-item">
+        <span class="post-meta-item-icon">
+          <i class="far fa-calendar-check"></i>
+        </span>
+        <span class="post-meta-item-text">更新于</span>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
+      </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E6%97%A5%E5%BF%97/" itemprop="url" rel="index"><span itemprop="name">日志</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/40124174.html" class="post-meta-item leancloud_visitors" data-flag-title="博客之始" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+          <p>以前总是看别人写的博客,用OneNote做的笔记,当面试的时候被问到:你有写博客吗?我的回答是NO!  那时候以为写博客离自己很遥远,觉得自己的水平低写不出什么东西来,但是现在仔细想想,不正是因为自己的水平低才更要写博客吗!</p>
+<p>通过写博客来做笔记并且加入自己的思考,摆脱以前一贯的只记忆不思考的习惯,一次又一次地修改完善,才能更好的提高自己的能力。</p>
+<p>在这特殊的一天,踏出新的一步,祝2018年大家越来越好!</p>
+
+      
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+        <div class="post-eof"></div>
+      
+    </footer>
+  </article>
+</div>
+
+
+
+
+  <nav class="pagination">
+    <a class="extend prev" rel="prev" href="/page/4/"><i class="fa fa-angle-left" aria-label="上一页"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/4/">4</a><span class="page-number current">5</span>
+  </nav>
+
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+
+</body>
+</html>

+ 5 - 5
posts/11188dee.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="写了这么久的SQL,怎么手动操作事务竟然快忘了,是时候复习一下了。">
 <meta property="og:description" content="写了这么久的SQL,怎么手动操作事务竟然快忘了,是时候复习一下了。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-04-02T08:27:30.000Z">
 <meta property="article:published_time" content="2021-04-02T08:27:30.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="数据库">
 <meta property="article:tag" content="数据库">
 <meta property="article:tag" content="MySQL">
 <meta property="article:tag" content="MySQL">
@@ -214,20 +214,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -307,7 +307,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/12626135.html

@@ -34,7 +34,7 @@
 <meta property="og:image" content="https://blog.izhixing.icu/images/%E5%8F%8C%E5%90%91%E9%93%BE%E8%A1%A8.png">
 <meta property="og:image" content="https://blog.izhixing.icu/images/%E5%8F%8C%E5%90%91%E9%93%BE%E8%A1%A8.png">
 <meta property="og:image" content="https://blog.izhixing.icu/images/%E5%8F%8C%E5%90%91%E5%BE%AA%E7%8E%AF%E9%93%BE%E8%A1%A8.png">
 <meta property="og:image" content="https://blog.izhixing.icu/images/%E5%8F%8C%E5%90%91%E5%BE%AA%E7%8E%AF%E9%93%BE%E8%A1%A8.png">
 <meta property="article:published_time" content="2021-04-04T09:29:58.000Z">
 <meta property="article:published_time" content="2021-04-04T09:29:58.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="数据结构">
 <meta property="article:tag" content="数据结构">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -216,20 +216,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -309,7 +309,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/1eb05570.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="在Linux上root用户拥有最高的权限,但是多人共享root账户或者直接使用root账户都是一件危险的事情,因此新建普通用户给其它操作员是一件顺理成章的事情。">
 <meta property="og:description" content="在Linux上root用户拥有最高的权限,但是多人共享root账户或者直接使用root账户都是一件危险的事情,因此新建普通用户给其它操作员是一件顺理成章的事情。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2020-01-10T14:43:20.000Z">
 <meta property="article:published_time" content="2020-01-10T14:43:20.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Linux">
 <meta property="article:tag" content="Linux">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/201dbebe.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="MyBatis提供了强大的事务性查询缓存机制,用于提高查询性能!">
 <meta property="og:description" content="MyBatis提供了强大的事务性查询缓存机制,用于提高查询性能!">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-04-03T14:31:18.000Z">
 <meta property="article:published_time" content="2021-04-03T14:31:18.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="MyBatis">
 <meta property="article:tag" content="MyBatis">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 12 - 6
posts/2871eb40.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="String是Java中使用频率极高的一个类,但由于其是不可变,因此有StringBuffer和StringBuilder两个类来弥补在大量修改场景下的不足。">
 <meta property="og:description" content="String是Java中使用频率极高的一个类,但由于其是不可变,因此有StringBuffer和StringBuilder两个类来弥补在大量修改场景下的不足。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-04-05T07:13:37.000Z">
 <meta property="article:published_time" content="2021-04-05T07:13:37.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Java">
 <meta property="article:tag" content="Java">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -298,10 +298,16 @@
         <i class="far fa-calendar"></i>
         <i class="far fa-calendar"></i>
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
-      
 
 
-      <time title="创建时间:2021-04-05 15:13:37 / 修改时间:21:18:06" itemprop="dateCreated datePublished" datetime="2021-04-05T15:13:37+08:00">2021-04-05</time>
+      <time title="创建时间:2021-04-05 15:13:37" itemprop="dateCreated datePublished" datetime="2021-04-05T15:13:37+08:00">2021-04-05</time>
     </span>
     </span>
+      <span class="post-meta-item">
+        <span class="post-meta-item-icon">
+          <i class="far fa-calendar-check"></i>
+        </span>
+        <span class="post-meta-item-text">更新于</span>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
+      </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-folder"></i>
         <i class="far fa-folder"></i>

+ 5 - 5
posts/35b60266.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="开发中经常要使用到集合类Map,现在让我们来研究一下究竟有多少种遍历方法吧。">
 <meta property="og:description" content="开发中经常要使用到集合类Map,现在让我们来研究一下究竟有多少种遍历方法吧。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-10-30T14:26:47.000Z">
 <meta property="article:published_time" content="2019-10-30T14:26:47.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Java">
 <meta property="article:tag" content="Java">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/35e905e4.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="如果服务器在国外且所在时区不一致,那么使用date命令查看时间的话,会看到另外一个时区的时间,为了符合生活习惯需要设置新的时区。 假设一个场景:凌晨3点人少的时候重启服务器。这样写crontab定时任务就有点麻烦了,因为要以自己的时间计算服务器所在时区的时间,因此把服务器时区设置为自己生活所在的时区还是挺有必要的。">
 <meta property="og:description" content="如果服务器在国外且所在时区不一致,那么使用date命令查看时间的话,会看到另外一个时区的时间,为了符合生活习惯需要设置新的时区。 假设一个场景:凌晨3点人少的时候重启服务器。这样写crontab定时任务就有点麻烦了,因为要以自己的时间计算服务器所在时区的时间,因此把服务器时区设置为自己生活所在的时区还是挺有必要的。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-03-27T13:10:45.000Z">
 <meta property="article:published_time" content="2021-03-27T13:10:45.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Linux">
 <meta property="article:tag" content="Linux">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -212,20 +212,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -305,7 +305,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/36fb1fe.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="Git是使用频率非常高的一个工具,在使用过程中遇到过不少的问题,现在汇总一下遇到过的问题以及对应的解决方法。">
 <meta property="og:description" content="Git是使用频率非常高的一个工具,在使用过程中遇到过不少的问题,现在汇总一下遇到过的问题以及对应的解决方法。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-04-03T01:38:02.000Z">
 <meta property="article:published_time" content="2021-04-03T01:38:02.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Git">
 <meta property="article:tag" content="Git">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/3d0562c8.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="IDEA输出中文乱码是个常见的问题了,记录下问题的解决方法,以及网上方法无效的原因。">
 <meta property="og:description" content="IDEA输出中文乱码是个常见的问题了,记录下问题的解决方法,以及网上方法无效的原因。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-10-23T13:37:47.000Z">
 <meta property="article:published_time" content="2019-10-23T13:37:47.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="IDEA">
 <meta property="article:tag" content="IDEA">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/40124174.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="以前总是看别人写的博客,用OneNote做的笔记,当面试的时候被问到:你有写博客吗?我的回答是NO!  那时候以为写博客离自己很遥远,觉得自己的水平低写不出什么东西来,但是现在仔细想想,不正是因为自己的水平低才更要写博客吗! 通过写博客来做笔记并且加入自己的思考,摆脱以前一贯的只记忆不思考的习惯,一次又一次地修改完善,才能更好的提高自己的能力。 在这特殊的一天,踏出新的一步,祝2018年大家越来越">
 <meta property="og:description" content="以前总是看别人写的博客,用OneNote做的笔记,当面试的时候被问到:你有写博客吗?我的回答是NO!  那时候以为写博客离自己很遥远,觉得自己的水平低写不出什么东西来,但是现在仔细想想,不正是因为自己的水平低才更要写博客吗! 通过写博客来做笔记并且加入自己的思考,摆脱以前一贯的只记忆不思考的习惯,一次又一次地修改完善,才能更好的提高自己的能力。 在这特殊的一天,踏出新的一步,祝2018年大家越来越">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2018-02-15T16:00:00.000Z">
 <meta property="article:published_time" content="2018-02-15T16:00:00.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="日志">
 <meta property="article:tag" content="日志">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -212,20 +212,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -305,7 +305,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 591 - 0
posts/44e8cd7.html

@@ -0,0 +1,591 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="进程通信(Interprocess Communication,IPC)是一个进程与另一个进程间共享消息的一种通信方式。消息(message)是发送进程形成的一个消息块,将消息内容传送给接收进程。">
+<meta property="og:type" content="article">
+<meta property="og:title" content="进程间的通信方式">
+<meta property="og:url" content="https://blog.izhixing.icu/posts/44e8cd7.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="进程通信(Interprocess Communication,IPC)是一个进程与另一个进程间共享消息的一种通信方式。消息(message)是发送进程形成的一个消息块,将消息内容传送给接收进程。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:published_time" content="2021-04-06T14:11:55.000Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
+<meta property="article:author" content="知行">
+<meta property="article:tag" content="多线程">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/posts/44e8cd7.html">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : true,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>进程间的通信方式 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#%E8%BF%9B%E7%A8%8B%E9%97%B4%E9%80%9A%E4%BF%A1%E7%9A%84%E7%9B%AE%E7%9A%84"><span class="nav-number">1.</span> <span class="nav-text">进程间通信的目的</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#8%E7%A7%8D%E9%80%9A%E4%BF%A1%E6%96%B9%E5%BC%8F"><span class="nav-number">2.</span> <span class="nav-text">8种通信方式</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E8%BF%9B%E7%A8%8B%E9%97%B4%E7%9A%84%E9%80%9A%E4%BF%A1%E5%92%8C%E7%BA%BF%E7%A8%8B%E9%97%B4%E7%9A%84%E9%80%9A%E4%BF%A1%E7%9A%84%E5%8C%BA%E5%88%AB"><span class="nav-number">3.</span> <span class="nav-text">进程间的通信和线程间的通信的区别</span></a></li></ol></div>
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner post posts-expand">
+
+
+  
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/44e8cd7.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h1 class="post-title" itemprop="name headline">
+          进程间的通信方式
+        </h1>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+      
+
+      <time title="创建时间:2021-04-06 22:11:55 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T22:11:55+08:00">2021-04-06</time>
+    </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/44e8cd7.html" class="post-meta-item leancloud_visitors" data-flag-title="进程间的通信方式" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+        <p><strong>进程通信(Interprocess Communication,IPC)是一个进程与另一个进程间共享消息的一种通信方式</strong>。消息(message)是发送进程形成的一个消息块,将消息内容传送给接收进程。</p>
+<span id="more"></span>
+
+
+
+<h1 id="进程间通信的目的"><a href="#进程间通信的目的" class="headerlink" title="进程间通信的目的"></a>进程间通信的目的</h1><ul>
+<li><p>数据传输<br> 一个进程需要将其数据发送给另一进程,发送的数据量在一个字节到几M字节之间。</p>
+</li>
+<li><p>共享数据<br> 多个进程操作共享数据</p>
+</li>
+<li><p>事件通知<br> 一个进程需要向另一个或一组进程发送消息,通知它(它们)发生了某种事件(如进程终止时要通知父进程)。</p>
+</li>
+<li><p>资源共享<br> 多个进程之间共享同样的资源。<strong>为了作到这一点,需要内核提供锁和同步机制</strong>。</p>
+</li>
+<li><p>进程控制<br> 有些进程希望完全控制另一个进程的执行(如Debug进程),此时控制进程希望能够拦截另一个进程的所有陷入和异常,并能够及时知道它的状态改变。</p>
+</li>
+</ul>
+<h1 id="8种通信方式"><a href="#8种通信方式" class="headerlink" title="8种通信方式"></a>8种通信方式</h1><ol>
+<li><p>匿名管道</p>
+<p>是一种半双工的通信方式(即数据只能单向流动),且只能在具有亲缘关系的进程间使用(亲缘关系指的父子进程或者兄弟子进程),该管道只存在于内存之中。</p>
+</li>
+<li><p>流管道</p>
+<p>是一种全双工的通信方式(即数据能双向流动)</p>
+<p>注:对该方法不熟悉,请自行搜索更多相关内容</p>
+</li>
+<li><p>命名管道</p>
+<p>与匿名管道一样是一种半双工的通信方式(即数据只能单向流动),但<em>克服了匿名管道只能在具有亲缘关系的进程间使用的限制</em>,允许无亲缘关系的进程间使用,管道以一种特殊设备文件形式存在于文件系统中。</p>
+</li>
+<li><p>信号</p>
+<p>信号是一种比较复杂的通信方式,用于通知接收进程某个事件已经发生。</p>
+</li>
+<li><p>消息队列</p>
+<p>是消息的链表,存放在内核中,一个消息队列由一个标识符(即队列ID)来标识。</p>
+<p>消息队列是面向记录的,其中的消息具有特定的格式以及特定的优先级。</p>
+<p>消息队列独立于发送与接收进程。进程终止时,消息队列及其内容并不会被删除。</p>
+<p>消息队列可以实现消息的随机查询,消息不一定要以先进先出的次序读取,也可以按消息的类型读取。</p>
+</li>
+<li><p>共享内存</p>
+<p>两个或多个进程共享一个给定的存储区,是最快的一种 IPC,因为进程是直接对内存进行存取。</p>
+<p>因为多个进程可以同时操作,所以需要进行同步。</p>
+<p>信号量+共享内存通常结合在一起使用,信号量用来同步对共享内存的访问。</p>
+</li>
+<li><p>信号量</p>
+<p>信号量是一个计数器,用于实现进程间的互斥与同步,若要在进程间传递数据需要结合共享内存。</p>
+<p>信号量是基于操作系统的PV操作,程序对信号量的操作都是原子操作。</p>
+<p>每次对信号量的 PV 操作不仅限于对信号量值加 1 或减 1,而且可以加减任意正整数。</p>
+<p>支持信号量组。</p>
+</li>
+<li><p>套接字,即socket通信,与其他通信机制不同的是,它可用于不同机器间的进程通信。</p>
+</li>
+</ol>
+<h1 id="进程间的通信和线程间的通信的区别"><a href="#进程间的通信和线程间的通信的区别" class="headerlink" title="进程间的通信和线程间的通信的区别"></a>进程间的通信和线程间的通信的区别</h1><p>只有进程间需要通信,线程间由于共享进程的地址空间,因此没有通信必要,但要做好同步和互斥,保护共享的变量。</p>
+
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+          <div class="post-tags">
+              <a href="/tags/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" rel="tag"># 多线程</a>
+          </div>
+
+        
+
+          <div class="post-nav">
+            <div class="post-nav-item">
+                <a href="/posts/ce4f4d1f.html" rel="prev" title="CAS操作和ABA问题">
+                  <i class="fa fa-chevron-left"></i> CAS操作和ABA问题
+                </a>
+            </div>
+            <div class="post-nav-item">
+                <a href="/posts/f6f32af4.html" rel="next" title="注解@Autowired和@Resource区别">
+                  注解@Autowired和@Resource区别 <i class="fa fa-chevron-right"></i>
+                </a>
+            </div>
+          </div>
+    </footer>
+  </article>
+</div>
+
+
+
+
+
+
+    <div class="comments gitalk-container"></div>
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.css">
+
+<script>
+NexT.utils.loadComments('.gitalk-container', () => {
+  NexT.utils.getScript('https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.min.js', () => {
+    var gitalk = new Gitalk({
+      clientID    : '37644037ac52d12cdd8a',
+      clientSecret: '09993925bc5a09337e2d13cc1225761ca099d39b',
+      repo        : 'izhixing.github.io',
+      owner       : 'izhixing',
+      admin       : ['izhixing'],
+      id          : '2238beacf56b6eca39e1478f787e6d12',
+      proxy       : 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token',
+        language: '',
+      distractionFreeMode: true
+    });
+    gitalk.render(document.querySelector('.gitalk-container'));
+  }, window.Gitalk);
+});
+</script>
+
+</body>
+</html>

+ 5 - 5
posts/4c0b6fc5.html

@@ -33,7 +33,7 @@
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:image" content="http://ww1.sinaimg.cn/large/e6dffef4gy1gaqphag66lj21bb0bqtjk.jpg">
 <meta property="og:image" content="http://ww1.sinaimg.cn/large/e6dffef4gy1gaqphag66lj21bb0bqtjk.jpg">
 <meta property="article:published_time" content="2019-10-31T04:31:13.000Z">
 <meta property="article:published_time" content="2019-10-31T04:31:13.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Java">
 <meta property="article:tag" content="Java">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -215,20 +215,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -308,7 +308,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/4eef1a76.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="我们经常会遇到从远程服务器下载文件的情况,如果直接使用ftp或者sftp的进行下载的话,下载速度总是不甚满意,网络差的话简直让人抓狂要砸键盘了。这情况可以考虑用Nginx做文件服务器,然后使用IDM(设置为32个线程同时工作)下载,那下载速度可是杠杠的带宽都要跑满了。">
 <meta property="og:description" content="我们经常会遇到从远程服务器下载文件的情况,如果直接使用ftp或者sftp的进行下载的话,下载速度总是不甚满意,网络差的话简直让人抓狂要砸键盘了。这情况可以考虑用Nginx做文件服务器,然后使用IDM(设置为32个线程同时工作)下载,那下载速度可是杠杠的带宽都要跑满了。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-03-27T13:11:43.000Z">
 <meta property="article:published_time" content="2021-03-27T13:11:43.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="服务器">
 <meta property="article:tag" content="服务器">
 <meta property="article:tag" content="Nginx">
 <meta property="article:tag" content="Nginx">
@@ -214,20 +214,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -307,7 +307,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/55e0da5c.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="Nginx作为代理服务器是一个很常见的用途,例如内部有一个tomcat服务但是又不想开放8080端口,通过配置代理可以在只开放80端口的情况下访问到内部的tomcat服务了。">
 <meta property="og:description" content="Nginx作为代理服务器是一个很常见的用途,例如内部有一个tomcat服务但是又不想开放8080端口,通过配置代理可以在只开放80端口的情况下访问到内部的tomcat服务了。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-03-27T13:11:43.000Z">
 <meta property="article:published_time" content="2021-03-27T13:11:43.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="服务器">
 <meta property="article:tag" content="服务器">
 <meta property="article:tag" content="Nginx">
 <meta property="article:tag" content="Nginx">
@@ -214,20 +214,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -307,7 +307,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/5874180.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="事务是数据库中经常碰到的一个概念,总结一下相关知识,汇总对事务的理解。">
 <meta property="og:description" content="事务是数据库中经常碰到的一个概念,总结一下相关知识,汇总对事务的理解。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-04-02T07:40:13.000Z">
 <meta property="article:published_time" content="2021-04-02T07:40:13.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="数据库">
 <meta property="article:tag" content="数据库">
 <meta property="article:tag" content="MySQL">
 <meta property="article:tag" content="MySQL">
@@ -214,20 +214,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -307,7 +307,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/5d007e64.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="圆周率是通过实际测量得出的,即一个圆的周长和其直径的比率。">
 <meta property="og:description" content="圆周率是通过实际测量得出的,即一个圆的周长和其直径的比率。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-05-07T12:31:00.000Z">
 <meta property="article:published_time" content="2019-05-07T12:31:00.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="数学">
 <meta property="article:tag" content="数学">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 548 - 0
posts/6117b918.html

@@ -0,0 +1,548 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="多线程间是互相协助和互相联系的,因此多线程间存在互斥和同步。   互斥和同步多线程间存在并发访问共享资源(修改资源)时就会出现互斥,保证共享数据在同一时刻只被一个线程使用。 多线程同步是指一个线程由于某种原因(等待对象释放之类的)需要等待另一个线程执行完才能继续执行的现象,即线程间互相等待。 互斥和同步是不可分离的,互斥是实现同步的一种手段,临界区、互斥量和信号量都是主要的互斥实现方式,互斥是因,">
+<meta property="og:type" content="article">
+<meta property="og:title" content="线程间的互斥和同步">
+<meta property="og:url" content="https://blog.izhixing.icu/posts/6117b918.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="多线程间是互相协助和互相联系的,因此多线程间存在互斥和同步。   互斥和同步多线程间存在并发访问共享资源(修改资源)时就会出现互斥,保证共享数据在同一时刻只被一个线程使用。 多线程同步是指一个线程由于某种原因(等待对象释放之类的)需要等待另一个线程执行完才能继续执行的现象,即线程间互相等待。 互斥和同步是不可分离的,互斥是实现同步的一种手段,临界区、互斥量和信号量都是主要的互斥实现方式,互斥是因,">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:published_time" content="2021-04-06T14:20:54.000Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
+<meta property="article:author" content="知行">
+<meta property="article:tag" content="多线程">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/posts/6117b918.html">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : true,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>线程间的互斥和同步 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#%E4%BA%92%E6%96%A5%E5%92%8C%E5%90%8C%E6%AD%A5"><span class="nav-number">1.</span> <span class="nav-text">互斥和同步</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#Java%E4%B8%AD%E7%9A%84%E5%AE%9E%E7%8E%B0"><span class="nav-number">2.</span> <span class="nav-text">Java中的实现</span></a></li></ol></div>
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner post posts-expand">
+
+
+  
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/6117b918.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h1 class="post-title" itemprop="name headline">
+          线程间的互斥和同步
+        </h1>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+      
+
+      <time title="创建时间:2021-04-06 22:20:54 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T22:20:54+08:00">2021-04-06</time>
+    </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/6117b918.html" class="post-meta-item leancloud_visitors" data-flag-title="线程间的互斥和同步" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+        <p>多线程间是互相协助和互相联系的,因此多线程间存在互斥和同步。</p>
+<!-- more  -->
+
+<h1 id="互斥和同步"><a href="#互斥和同步" class="headerlink" title="互斥和同步"></a>互斥和同步</h1><p>多线程间存在并发访问共享资源(修改资源)时就会出现互斥,保证共享数据在同一时刻只被一个线程使用。</p>
+<p>多线程同步是指一个线程由于某种原因(等待对象释放之类的)需要等待另一个线程执行完才能继续执行的现象,即线程间互相等待。</p>
+<p>互斥和同步是不可分离的,互斥是实现同步的一种手段,临界区、互斥量和信号量都是主要的互斥实现方式,互斥是因,同步是果,互斥是方法,同步是目的。</p>
+<h1 id="Java中的实现"><a href="#Java中的实现" class="headerlink" title="Java中的实现"></a>Java中的实现</h1><p>Java中wait()、notify()、notifyAll()三个方法就是用来实现线程同步的。</p>
+<p>wait()处于等待队列,或超时结束等待。notify()通知第一个处于等待的线程,notifyAll()则唤醒所有等待线程一起竞争cpu。</p>
+<p>Java中最基本的互斥同步手段就是synchronized。</p>
+
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+          <div class="post-tags">
+              <a href="/tags/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" rel="tag"># 多线程</a>
+          </div>
+
+        
+
+          <div class="post-nav">
+            <div class="post-nav-item">
+                <a href="/posts/c3329247.html" rel="prev" title="临界段">
+                  <i class="fa fa-chevron-left"></i> 临界段
+                </a>
+            </div>
+            <div class="post-nav-item">
+                <a href="/posts/ce090114.html" rel="next" title="微服务的启动">
+                  微服务的启动 <i class="fa fa-chevron-right"></i>
+                </a>
+            </div>
+          </div>
+    </footer>
+  </article>
+</div>
+
+
+
+
+
+
+    <div class="comments gitalk-container"></div>
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.css">
+
+<script>
+NexT.utils.loadComments('.gitalk-container', () => {
+  NexT.utils.getScript('https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.min.js', () => {
+    var gitalk = new Gitalk({
+      clientID    : '37644037ac52d12cdd8a',
+      clientSecret: '09993925bc5a09337e2d13cc1225761ca099d39b',
+      repo        : 'izhixing.github.io',
+      owner       : 'izhixing',
+      admin       : ['izhixing'],
+      id          : '1b3bbbd849b002a98f7d0015974a8c4d',
+      proxy       : 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token',
+        language: '',
+      distractionFreeMode: true
+    });
+    gitalk.render(document.querySelector('.gitalk-container'));
+  }, window.Gitalk);
+});
+</script>
+
+</body>
+</html>

+ 547 - 0
posts/7ae49b47.html

@@ -0,0 +1,547 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="说起分布式肯定绕不开两个理论:CAP理论和BASE理论。限于水平有限,本篇文章仅作记录用。">
+<meta property="og:type" content="article">
+<meta property="og:title" content="CAP理论和BASE理论">
+<meta property="og:url" content="https://blog.izhixing.icu/posts/7ae49b47.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="说起分布式肯定绕不开两个理论:CAP理论和BASE理论。限于水平有限,本篇文章仅作记录用。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:published_time" content="2021-04-06T07:56:26.000Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
+<meta property="article:author" content="知行">
+<meta property="article:tag" content="分布式">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/posts/7ae49b47.html">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : true,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>CAP理论和BASE理论 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#CAP%E7%90%86%E8%AE%BA"><span class="nav-number">1.</span> <span class="nav-text">CAP理论</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E6%8B%93%E5%B1%95"><span class="nav-number">1.1.</span> <span class="nav-text">拓展</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#BASE%E7%90%86%E8%AE%BA"><span class="nav-number">2.</span> <span class="nav-text">BASE理论</span></a></li></ol></div>
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner post posts-expand">
+
+
+  
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/7ae49b47.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h1 class="post-title" itemprop="name headline">
+          CAP理论和BASE理论
+        </h1>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+      
+
+      <time title="创建时间:2021-04-06 15:56:26 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T15:56:26+08:00">2021-04-06</time>
+    </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%88%86%E5%B8%83%E5%BC%8F/" itemprop="url" rel="index"><span itemprop="name">分布式</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/7ae49b47.html" class="post-meta-item leancloud_visitors" data-flag-title="CAP理论和BASE理论" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+        <p>说起分布式肯定绕不开两个理论:CAP理论和BASE理论。限于水平有限,本篇文章仅作记录用。</p>
+<span id="more"></span>
+
+
+
+<h1 id="CAP理论"><a href="#CAP理论" class="headerlink" title="CAP理论"></a>CAP理论</h1><p>C即一致性,A即可用性,P即分区容错性。<br>CAP理论指出了三者中只能同时做到其中的两个,无法同时满足三个要求。<br>CAP理论是针对分布式数据库环境提出的,因此P属性是必须的。如果选择了A,那么分区间的数据可能会不一致;如果选择了C,则为了保持数据一致性而导致服务不可用。</p>
+<h2 id="拓展"><a href="#拓展" class="headerlink" title="拓展"></a>拓展</h2><p>Spring cloud中的eureka 属于AP,zookeeper属于CP。</p>
+<h1 id="BASE理论"><a href="#BASE理论" class="headerlink" title="BASE理论"></a>BASE理论</h1><p>BA(基本可用,Basically Available)、S(软状态,Soft-state)、C(最终一致性,Eventually Consistent)<br>BASE理论是由CAP理论发展而来,是一致性和可用性权衡的结果,即牺牲一致性来满足系统的可用性,然后在后续的过程中达到最终一致。</p>
+
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+          <div class="post-tags">
+              <a href="/tags/%E5%88%86%E5%B8%83%E5%BC%8F/" rel="tag"># 分布式</a>
+          </div>
+
+        
+
+          <div class="post-nav">
+            <div class="post-nav-item">
+                <a href="/posts/9a65c93a.html" rel="prev" title="wait()和sleep()方法的区别">
+                  <i class="fa fa-chevron-left"></i> wait()和sleep()方法的区别
+                </a>
+            </div>
+            <div class="post-nav-item">
+                <a href="/posts/ce4f4d1f.html" rel="next" title="CAS操作和ABA问题">
+                  CAS操作和ABA问题 <i class="fa fa-chevron-right"></i>
+                </a>
+            </div>
+          </div>
+    </footer>
+  </article>
+</div>
+
+
+
+
+
+
+    <div class="comments gitalk-container"></div>
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.css">
+
+<script>
+NexT.utils.loadComments('.gitalk-container', () => {
+  NexT.utils.getScript('https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.min.js', () => {
+    var gitalk = new Gitalk({
+      clientID    : '37644037ac52d12cdd8a',
+      clientSecret: '09993925bc5a09337e2d13cc1225761ca099d39b',
+      repo        : 'izhixing.github.io',
+      owner       : 'izhixing',
+      admin       : ['izhixing'],
+      id          : '3feee758e1961978d401083329cc77ae',
+      proxy       : 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token',
+        language: '',
+      distractionFreeMode: true
+    });
+    gitalk.render(document.querySelector('.gitalk-container'));
+  }, window.Gitalk);
+});
+</script>
+
+</body>
+</html>

+ 5 - 5
posts/7b35ed44.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="redis有5种基本数据类型:string,list,hash,set,sorted set。">
 <meta property="og:description" content="redis有5种基本数据类型:string,list,hash,set,sorted set。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-03-29T12:59:13.000Z">
 <meta property="article:published_time" content="2021-03-29T12:59:13.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="缓存">
 <meta property="article:tag" content="缓存">
 <meta property="article:tag" content="Redis">
 <meta property="article:tag" content="Redis">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/84bf135c.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="有些资源文件的体积比较大,开启nginx的gzip压缩,能够极大的提升传输的效率。">
 <meta property="og:description" content="有些资源文件的体积比较大,开启nginx的gzip压缩,能够极大的提升传输的效率。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-03-27T13:11:24.000Z">
 <meta property="article:published_time" content="2021-03-27T13:11:24.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="服务器">
 <meta property="article:tag" content="服务器">
 <meta property="article:tag" content="Nginx">
 <meta property="article:tag" content="Nginx">
@@ -214,20 +214,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -307,7 +307,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/87daa986.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="2019年的第三个月即将过去了,现在才写这篇文章好像迟了一点,不过种一棵树最好的时间是十年前,其次是现在,这样子安慰自己的话,好像还不算晚。 在2018年里仅仅写了几篇文章,不过幸运的是因为有个博客,所以总想着弄点什么来写写,从而养成了写文档的习惯,遇到不懂的、特别的都有记录下来,期望在后面的时间里写到博客上。 在前段时间,突然萌生了换个博客的想法,wordpress、typecho、hugo这些">
 <meta property="og:description" content="2019年的第三个月即将过去了,现在才写这篇文章好像迟了一点,不过种一棵树最好的时间是十年前,其次是现在,这样子安慰自己的话,好像还不算晚。 在2018年里仅仅写了几篇文章,不过幸运的是因为有个博客,所以总想着弄点什么来写写,从而养成了写文档的习惯,遇到不懂的、特别的都有记录下来,期望在后面的时间里写到博客上。 在前段时间,突然萌生了换个博客的想法,wordpress、typecho、hugo这些">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-03-17T14:22:03.000Z">
 <meta property="article:published_time" content="2019-03-17T14:22:03.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="日志">
 <meta property="article:tag" content="日志">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -212,20 +212,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -305,7 +305,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/9589c4d2.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="redis提供3种持久化机制用于在重启机器或者系统故障后重用数据(恢复场景)。">
 <meta property="og:description" content="redis提供3种持久化机制用于在重启机器或者系统故障后重用数据(恢复场景)。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-03-29T12:58:58.000Z">
 <meta property="article:published_time" content="2021-03-29T12:58:58.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="缓存">
 <meta property="article:tag" content="缓存">
 <meta property="article:tag" content="Redis">
 <meta property="article:tag" content="Redis">
@@ -214,20 +214,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -307,7 +307,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 557 - 0
posts/9a65c93a.html

@@ -0,0 +1,557 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="多线程开发中,让线程暂停执行是常见场景,Java提供了*sleep()和wait()*两种实现方法,但在具体使用上又有稍微差别。">
+<meta property="og:type" content="article">
+<meta property="og:title" content="wait()和sleep()方法的区别">
+<meta property="og:url" content="https://blog.izhixing.icu/posts/9a65c93a.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="多线程开发中,让线程暂停执行是常见场景,Java提供了*sleep()和wait()*两种实现方法,但在具体使用上又有稍微差别。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:published_time" content="2021-04-06T07:42:43.000Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
+<meta property="article:author" content="知行">
+<meta property="article:tag" content="Java">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/posts/9a65c93a.html">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : true,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>wait()和sleep()方法的区别 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%BC%82%E5%90%8C"><span class="nav-number">1.</span> <span class="nav-text">异同</span></a></li></ol></div>
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner post posts-expand">
+
+
+  
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/9a65c93a.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h1 class="post-title" itemprop="name headline">
+          wait()和sleep()方法的区别
+        </h1>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+      
+
+      <time title="创建时间:2021-04-06 15:42:43 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T15:42:43+08:00">2021-04-06</time>
+    </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
+        </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/9a65c93a.html" class="post-meta-item leancloud_visitors" data-flag-title="wait()和sleep()方法的区别" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+        <p>多线程开发中,让线程暂停执行是常见场景,Java提供了*sleep()<em>和</em>wait()*两种实现方法,但在具体使用上又有稍微差别。</p>
+<span id="more"></span>
+
+
+
+<h1 id="异同"><a href="#异同" class="headerlink" title="异同"></a>异同</h1><ul>
+<li>相同点:*sleep()<em>和</em>wait()*的作用都是暂停线程的执行,进入阻塞状态,让出CPU时间片段。</li>
+<li>区别<ul>
+<li>锁资源的释放:*sleep()<em>方法调用后线程不会释放锁资源;</em>wait()*方法调用后线程会释放锁资源。</li>
+<li>使用场景:*sleep()<em>仅用于线程暂停执行;</em>wait()*通常用于线程间交互或通信;</li>
+<li>线程唤醒:*sleep()*调用后线程会自动唤醒(由系统调度器唤醒,时间到了被调度);wait()调用后,线程不会自动唤醒(需要其它线程使用同一个对象上的notify()或者notifyAll()方法唤醒),也可以使用带有超时设置的wait()方法超时后自动唤醒。</li>
+</ul>
+</li>
+</ul>
+
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+          <div class="post-tags">
+              <a href="/tags/Java/" rel="tag"># Java</a>
+          </div>
+
+        
+
+          <div class="post-nav">
+            <div class="post-nav-item">
+                <a href="/posts/c6b69b48.html" rel="prev" title="线程和线程池的关闭">
+                  <i class="fa fa-chevron-left"></i> 线程和线程池的关闭
+                </a>
+            </div>
+            <div class="post-nav-item">
+                <a href="/posts/7ae49b47.html" rel="next" title="CAP理论和BASE理论">
+                  CAP理论和BASE理论 <i class="fa fa-chevron-right"></i>
+                </a>
+            </div>
+          </div>
+    </footer>
+  </article>
+</div>
+
+
+
+
+
+
+    <div class="comments gitalk-container"></div>
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.css">
+
+<script>
+NexT.utils.loadComments('.gitalk-container', () => {
+  NexT.utils.getScript('https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.min.js', () => {
+    var gitalk = new Gitalk({
+      clientID    : '37644037ac52d12cdd8a',
+      clientSecret: '09993925bc5a09337e2d13cc1225761ca099d39b',
+      repo        : 'izhixing.github.io',
+      owner       : 'izhixing',
+      admin       : ['izhixing'],
+      id          : 'acfeab4fda0f9c4e9c472a8901a3aac8',
+      proxy       : 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token',
+        language: '',
+      distractionFreeMode: true
+    });
+    gitalk.render(document.querySelector('.gitalk-container'));
+  }, window.Gitalk);
+});
+</script>
+
+</body>
+</html>

+ 5 - 5
posts/a7ec3638.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="记录开发过程中遇到过的MySQL异常。">
 <meta property="og:description" content="记录开发过程中遇到过的MySQL异常。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-10-25T15:03:02.000Z">
 <meta property="article:published_time" content="2019-10-25T15:03:02.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="数据库">
 <meta property="article:tag" content="数据库">
 <meta property="article:tag" content="MySQL">
 <meta property="article:tag" content="MySQL">
@@ -214,20 +214,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -307,7 +307,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/ab6871d9.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="想要学习效果好,记忆是个绕不开的话题,通过科学的重复记忆,就能显著的提高记忆效果。">
 <meta property="og:description" content="想要学习效果好,记忆是个绕不开的话题,通过科学的重复记忆,就能显著的提高记忆效果。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-06-24T15:06:19.000Z">
 <meta property="article:published_time" content="2019-06-24T15:06:19.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="学习">
 <meta property="article:tag" content="学习">
 <meta property="article:tag" content="记忆">
 <meta property="article:tag" content="记忆">
@@ -214,20 +214,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -307,7 +307,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/b0269417.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="接触Java开发已经很长一段时间了,对于常见的名词,如:JMS、JDBC、JPA,也基本知道代表的是什么,而JNDI、JTA这些就不知道了,今天特意做个备忘录,记录下在Java中遇到的这些名词,并在后续中不断更新。">
 <meta property="og:description" content="接触Java开发已经很长一段时间了,对于常见的名词,如:JMS、JDBC、JPA,也基本知道代表的是什么,而JNDI、JTA这些就不知道了,今天特意做个备忘录,记录下在Java中遇到的这些名词,并在后续中不断更新。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-04-09T08:31:43.000Z">
 <meta property="article:published_time" content="2019-04-09T08:31:43.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Java">
 <meta property="article:tag" content="Java">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -212,20 +212,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -305,7 +305,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/b1bd9b76.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="作为一个架构师,在面对一个产品的时候应该怎么进行思考呢?">
 <meta property="og:description" content="作为一个架构师,在面对一个产品的时候应该怎么进行思考呢?">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-06-24T14:33:08.000Z">
 <meta property="article:published_time" content="2019-06-24T14:33:08.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="架构师">
 <meta property="article:tag" content="架构师">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/b4c6dbe7.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="在Windows系统上,安装软件总是要到官网上去下载安装,又不想使用XX管家类的软件,因此如果有像Linux上的包管理工具就方便了,scoop就是Windows下的包管理工具!">
 <meta property="og:description" content="在Windows系统上,安装软件总是要到官网上去下载安装,又不想使用XX管家类的软件,因此如果有像Linux上的包管理工具就方便了,scoop就是Windows下的包管理工具!">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-04-02T23:07:20.000Z">
 <meta property="article:published_time" content="2021-04-02T23:07:20.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="scoop">
 <meta property="article:tag" content="scoop">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/b9577586.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="N1刷机成功后,为了方便使用,免不了要执行一些常见的配置操作或软件安装,例:更换国内软件源、安装docker、设置WIFI、安装Java环境等。">
 <meta property="og:description" content="N1刷机成功后,为了方便使用,免不了要执行一些常见的配置操作或软件安装,例:更换国内软件源、安装docker、设置WIFI、安装Java环境等。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-06-22T07:43:04.000Z">
 <meta property="article:published_time" content="2019-06-22T07:43:04.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="有趣">
 <meta property="article:tag" content="有趣">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/bdb89eee.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="Gogs是一款极易搭建的自助 Git 服务,安装起来也确实是这样,在安装目录下输入命令.&#x2F;gogs web就能启动Gogs服务,但如果是通过二进制方式进行安装每次都要输入命令拉起服务就很不方便了,因此需要手动把Gogs配置为Linux服务并开机自启动。">
 <meta property="og:description" content="Gogs是一款极易搭建的自助 Git 服务,安装起来也确实是这样,在安装目录下输入命令.&#x2F;gogs web就能启动Gogs服务,但如果是通过二进制方式进行安装每次都要输入命令拉起服务就很不方便了,因此需要手动把Gogs配置为Linux服务并开机自启动。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-03-27T13:09:44.000Z">
 <meta property="article:published_time" content="2021-03-27T13:09:44.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Gogs">
 <meta property="article:tag" content="Gogs">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 540 - 0
posts/c3329247.html

@@ -0,0 +1,540 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="临界段即多线程互斥使用共享资源的代码段,是一种加锁的机制,在任意时刻一个共享资源只能被一个线程使用。 Java中使用关键字synchronized定义临界段,能对共享对象进行加锁操作。">
+<meta property="og:type" content="article">
+<meta property="og:title" content="临界段">
+<meta property="og:url" content="https://blog.izhixing.icu/posts/c3329247.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="临界段即多线程互斥使用共享资源的代码段,是一种加锁的机制,在任意时刻一个共享资源只能被一个线程使用。 Java中使用关键字synchronized定义临界段,能对共享对象进行加锁操作。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:published_time" content="2021-04-06T14:17:07.000Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
+<meta property="article:author" content="知行">
+<meta property="article:tag" content="多线程">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/posts/c3329247.html">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : true,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>临界段 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-overview-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner post posts-expand">
+
+
+  
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/c3329247.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h1 class="post-title" itemprop="name headline">
+          临界段
+        </h1>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+      
+
+      <time title="创建时间:2021-04-06 22:17:07 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T22:17:07+08:00">2021-04-06</time>
+    </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/c3329247.html" class="post-meta-item leancloud_visitors" data-flag-title="临界段" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+        <p>临界段即多线程互斥使用共享资源的代码段,是一种加锁的机制,在任意时刻一个共享资源只能被一个线程使用。</p>
+<p>Java中使用关键字synchronized定义临界段,能对共享对象进行加锁操作。</p>
+
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+          <div class="post-tags">
+              <a href="/tags/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" rel="tag"># 多线程</a>
+          </div>
+
+        
+
+          <div class="post-nav">
+            <div class="post-nav-item">
+                <a href="/posts/f6f32af4.html" rel="prev" title="注解@Autowired和@Resource区别">
+                  <i class="fa fa-chevron-left"></i> 注解@Autowired和@Resource区别
+                </a>
+            </div>
+            <div class="post-nav-item">
+                <a href="/posts/6117b918.html" rel="next" title="线程间的互斥和同步">
+                  线程间的互斥和同步 <i class="fa fa-chevron-right"></i>
+                </a>
+            </div>
+          </div>
+    </footer>
+  </article>
+</div>
+
+
+
+
+
+
+    <div class="comments gitalk-container"></div>
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.css">
+
+<script>
+NexT.utils.loadComments('.gitalk-container', () => {
+  NexT.utils.getScript('https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.min.js', () => {
+    var gitalk = new Gitalk({
+      clientID    : '37644037ac52d12cdd8a',
+      clientSecret: '09993925bc5a09337e2d13cc1225761ca099d39b',
+      repo        : 'izhixing.github.io',
+      owner       : 'izhixing',
+      admin       : ['izhixing'],
+      id          : 'a11283817e11e00940606b4c31e4d4bc',
+      proxy       : 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token',
+        language: '',
+      distractionFreeMode: true
+    });
+    gitalk.render(document.querySelector('.gitalk-container'));
+  }, window.Gitalk);
+});
+</script>
+
+</body>
+</html>

+ 5 - 5
posts/c3592b96.html

@@ -45,7 +45,7 @@
 <meta property="og:image" content="http://ws1.sinaimg.cn/large/e6dffef4gy1g5ppz5ky2sj20hn08mq2y.jpg">
 <meta property="og:image" content="http://ws1.sinaimg.cn/large/e6dffef4gy1g5ppz5ky2sj20hn08mq2y.jpg">
 <meta property="og:image" content="http://ws1.sinaimg.cn/large/e6dffef4gy1g5ppzem086j20e804xq2t.jpg">
 <meta property="og:image" content="http://ws1.sinaimg.cn/large/e6dffef4gy1g5ppzem086j20e804xq2t.jpg">
 <meta property="article:published_time" content="2018-05-20T02:34:06.000Z">
 <meta property="article:published_time" content="2018-05-20T02:34:06.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Conda">
 <meta property="article:tag" content="Conda">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -227,20 +227,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -320,7 +320,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/c62f803c.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="新装的Linux系统,ssh、nginx、tomcat等各种服务都安装好了,可是在外网却访问不了??这十有八九是防火墙的端口没有打开了。">
 <meta property="og:description" content="新装的Linux系统,ssh、nginx、tomcat等各种服务都安装好了,可是在外网却访问不了??这十有八九是防火墙的端口没有打开了。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-03-27T13:10:14.000Z">
 <meta property="article:published_time" content="2021-03-27T13:10:14.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Linux">
 <meta property="article:tag" content="Linux">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 19 - 6
posts/c6b69b48.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="为了最大限度的提高系统性能,线程和线程池的使用都是必不可少的,使用后往往面临一个相同的问题:关闭!">
 <meta property="og:description" content="为了最大限度的提高系统性能,线程和线程池的使用都是必不可少的,使用后往往面临一个相同的问题:关闭!">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-04-05T13:13:26.000Z">
 <meta property="article:published_time" content="2021-04-05T13:13:26.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Java">
 <meta property="article:tag" content="Java">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -298,10 +298,16 @@
         <i class="far fa-calendar"></i>
         <i class="far fa-calendar"></i>
       </span>
       </span>
       <span class="post-meta-item-text">发表于</span>
       <span class="post-meta-item-text">发表于</span>
-      
 
 
-      <time title="创建时间:2021-04-05 21:13:26 / 修改时间:21:18:06" itemprop="dateCreated datePublished" datetime="2021-04-05T21:13:26+08:00">2021-04-05</time>
+      <time title="创建时间:2021-04-05 21:13:26" itemprop="dateCreated datePublished" datetime="2021-04-05T21:13:26+08:00">2021-04-05</time>
     </span>
     </span>
+      <span class="post-meta-item">
+        <span class="post-meta-item-icon">
+          <i class="far fa-calendar-check"></i>
+        </span>
+        <span class="post-meta-item-text">更新于</span>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
+      </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">
         <i class="far fa-folder"></i>
         <i class="far fa-folder"></i>
@@ -310,6 +316,10 @@
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
         <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
           <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
           <a href="/categories/Java/" itemprop="url" rel="index"><span itemprop="name">Java</span></a>
         </span>
         </span>
+          ,
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Java/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
+        </span>
     </span>
     </span>
 
 
   
   
@@ -398,6 +408,9 @@
                 </a>
                 </a>
             </div>
             </div>
             <div class="post-nav-item">
             <div class="post-nav-item">
+                <a href="/posts/9a65c93a.html" rel="next" title="wait()和sleep()方法的区别">
+                  wait()和sleep()方法的区别 <i class="fa fa-chevron-right"></i>
+                </a>
             </div>
             </div>
           </div>
           </div>
     </footer>
     </footer>

+ 5 - 5
posts/c80e1ec8.html

@@ -33,7 +33,7 @@
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:image" content="https://blog.izhixing.icu/images/Java%E7%9A%848%E7%A7%8D%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B.png">
 <meta property="og:image" content="https://blog.izhixing.icu/images/Java%E7%9A%848%E7%A7%8D%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E7%B1%BB%E5%9E%8B.png">
 <meta property="article:published_time" content="2021-04-04T08:32:14.000Z">
 <meta property="article:published_time" content="2021-04-04T08:32:14.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="Java">
 <meta property="article:tag" content="Java">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -215,20 +215,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -308,7 +308,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 545 - 0
posts/ce090114.html

@@ -0,0 +1,545 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="由于项目由单体变成了微服务的形式,因此项目的启动由一次变成了多次,但是单体项目与微服务有个不同点,就是微服务的服务之间存在依赖关系,不当的启动顺序会导致服务启动失败。 PS:以下仅作记录,没有真实使用过,">
+<meta property="og:type" content="article">
+<meta property="og:title" content="微服务的启动">
+<meta property="og:url" content="https://blog.izhixing.icu/posts/ce090114.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="由于项目由单体变成了微服务的形式,因此项目的启动由一次变成了多次,但是单体项目与微服务有个不同点,就是微服务的服务之间存在依赖关系,不当的启动顺序会导致服务启动失败。 PS:以下仅作记录,没有真实使用过,">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:published_time" content="2021-04-06T14:37:06.000Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
+<meta property="article:author" content="知行">
+<meta property="article:tag" content="Docker">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/posts/ce090114.html">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : true,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>微服务的启动 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#%E6%89%8B%E5%8A%A8%E5%90%AF%E5%8A%A8"><span class="nav-number">1.</span> <span class="nav-text">手动启动</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#wait-for-it-sh%E5%92%8C%E6%9C%8D%E5%8A%A1%E5%81%A5%E5%BA%B7%E6%A3%80%E6%9F%A5"><span class="nav-number">2.</span> <span class="nav-text">wait-for-it.sh和服务健康检查</span></a></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E5%8F%82%E8%80%83"><span class="nav-number">3.</span> <span class="nav-text">参考</span></a></li></ol></div>
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner post posts-expand">
+
+
+  
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/ce090114.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h1 class="post-title" itemprop="name headline">
+          微服务的启动
+        </h1>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+      
+
+      <time title="创建时间:2021-04-06 22:37:06 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T22:37:06+08:00">2021-04-06</time>
+    </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/Docker/" itemprop="url" rel="index"><span itemprop="name">Docker</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/ce090114.html" class="post-meta-item leancloud_visitors" data-flag-title="微服务的启动" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+        <p>由于项目由单体变成了微服务的形式,因此项目的启动由一次变成了多次,但是单体项目与微服务有个不同点,就是微服务的服务之间存在依赖关系,不当的启动顺序会导致服务启动失败。</p>
+<p>PS:以下仅作记录,没有真实使用过,</p>
+<span id="more"></span>
+
+<h1 id="手动启动"><a href="#手动启动" class="headerlink" title="手动启动"></a>手动启动</h1><p>按照依赖顺序依次启动服务,但是微服务架构的项目,单个服务的实例的次数都不止一个,更不要说整个项目了,手动启动的话肯定是不允许的。</p>
+<h1 id="wait-for-it-sh和服务健康检查"><a href="#wait-for-it-sh和服务健康检查" class="headerlink" title="wait-for-it.sh和服务健康检查"></a>wait-for-it.sh和服务健康检查</h1><p>为了便于微服务的分发和管理,使用Docker打包然后分发是一个很好的实践。</p>
+<p>对于微服务间的服务依赖,Docker官方给出的建议是:通过wait-for-it.sh脚本来控制,即通过脚本探测某个依赖的服务的tcp端口是否开放,否则一直等待,直到端口探测成功,才会启动后面的命令;也可以通过服务健康检查来实现。</p>
+<h1 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</h1><p><a target="_blank" rel="noopener" href="https://docs.docker.com/compose/startup-order/">https://docs.docker.com/compose/startup-order/</a></p>
+<p><a target="_blank" rel="noopener" href="https://stackoverflow.com/questions/48684609/control-startup-order-in-docker-compose">https://stackoverflow.com/questions/48684609/control-startup-order-in-docker-compose</a></p>
+
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+          <div class="post-tags">
+              <a href="/tags/Docker/" rel="tag"># Docker</a>
+          </div>
+
+        
+
+          <div class="post-nav">
+            <div class="post-nav-item">
+                <a href="/posts/6117b918.html" rel="prev" title="线程间的互斥和同步">
+                  <i class="fa fa-chevron-left"></i> 线程间的互斥和同步
+                </a>
+            </div>
+            <div class="post-nav-item">
+            </div>
+          </div>
+    </footer>
+  </article>
+</div>
+
+
+
+
+
+
+    <div class="comments gitalk-container"></div>
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.css">
+
+<script>
+NexT.utils.loadComments('.gitalk-container', () => {
+  NexT.utils.getScript('https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.min.js', () => {
+    var gitalk = new Gitalk({
+      clientID    : '37644037ac52d12cdd8a',
+      clientSecret: '09993925bc5a09337e2d13cc1225761ca099d39b',
+      repo        : 'izhixing.github.io',
+      owner       : 'izhixing',
+      admin       : ['izhixing'],
+      id          : '6413b82d36c5c067a5b1f25c687b5a00',
+      proxy       : 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token',
+        language: '',
+      distractionFreeMode: true
+    });
+    gitalk.render(document.querySelector('.gitalk-container'));
+  }, window.Gitalk);
+});
+</script>
+
+</body>
+</html>

+ 550 - 0
posts/ce4f4d1f.html

@@ -0,0 +1,550 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+<head>
+  <meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
+<meta name="theme-color" content="#222">
+<meta name="generator" content="Hexo 5.4.0">
+
+
+  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
+  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
+  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
+  <link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#222">
+  <meta name="google-site-verification" content="cCGIgodGvlMoVATcXs4p7kl8BVhmqW8u1kcPBZfD2qw">
+
+<link rel="stylesheet" href="/css/main.css">
+
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.2/css/all.min.css">
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">
+
+<script class="hexo-configurations">
+    var NexT = window.NexT || {};
+    var CONFIG = {"hostname":"blog.izhixing.icu","root":"/","images":"/images","scheme":"Gemini","version":"8.2.2","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12},"copycode":false,"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果:${query}","hits_time":"找到 ${hits} 个搜索结果(用时 ${time} 毫秒)","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false}};
+  </script>
+<meta name="description" content="多线程开发中,通常会加锁做并发控制,但是加锁会让性能降低,因此有了CAS操作,但CAS操作会引发ABA问题。">
+<meta property="og:type" content="article">
+<meta property="og:title" content="CAS操作和ABA问题">
+<meta property="og:url" content="https://blog.izhixing.icu/posts/ce4f4d1f.html">
+<meta property="og:site_name" content="知行">
+<meta property="og:description" content="多线程开发中,通常会加锁做并发控制,但是加锁会让性能降低,因此有了CAS操作,但CAS操作会引发ABA问题。">
+<meta property="og:locale" content="zh_CN">
+<meta property="article:published_time" content="2021-04-06T08:11:00.000Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
+<meta property="article:author" content="知行">
+<meta property="article:tag" content="多线程">
+<meta name="twitter:card" content="summary">
+
+
+<link rel="canonical" href="https://blog.izhixing.icu/posts/ce4f4d1f.html">
+
+
+<script class="page-configurations">
+  // https://hexo.io/docs/variables.html
+  CONFIG.page = {
+    sidebar: "",
+    isHome : false,
+    isPost : true,
+    lang   : 'zh-CN'
+  };
+</script>
+<title>CAS操作和ABA问题 | 知行</title>
+  
+    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135887327-1"></script>
+    <script>
+      if (CONFIG.hostname === location.hostname) {
+        window.dataLayer = window.dataLayer || [];
+        function gtag(){dataLayer.push(arguments);}
+        gtag('js', new Date());
+        gtag('config', 'UA-135887327-1');
+      }
+    </script>
+
+
+
+
+  <noscript>
+  <style>
+  body { margin-top: 2rem; }
+
+  .use-motion .menu-item,
+  .use-motion .sidebar,
+  .use-motion .post-block,
+  .use-motion .pagination,
+  .use-motion .comments,
+  .use-motion .post-header,
+  .use-motion .post-body,
+  .use-motion .collection-header {
+    visibility: visible;
+  }
+
+  .use-motion .header,
+  .use-motion .site-brand-container .toggle,
+  .use-motion .footer { opacity: initial; }
+
+  .use-motion .site-title,
+  .use-motion .site-subtitle,
+  .use-motion .custom-logo-image {
+    opacity: initial;
+    top: initial;
+  }
+
+  .use-motion .logo-line {
+    transform: scaleX(1);
+  }
+
+  .search-pop-overlay, .sidebar-nav { display: none; }
+  .sidebar-panel { display: block; }
+  </style>
+</noscript>
+
+</head>
+
+<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
+  <div class="headband"></div>
+
+  <main class="main">
+    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
+      <div class="header-inner"><div class="site-brand-container">
+  <div class="site-nav-toggle">
+    <div class="toggle" aria-label="切换导航栏" role="button">
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+        <span class="toggle-line"></span>
+    </div>
+  </div>
+
+  <div class="site-meta">
+
+    <a href="/" class="brand" rel="start">
+      <i class="logo-line"></i>
+      <h1 class="site-title">知行</h1>
+      <i class="logo-line"></i>
+    </a>
+  </div>
+
+  <div class="site-nav-right">
+    <div class="toggle popup-trigger">
+        <i class="fa fa-search fa-fw fa-lg"></i>
+    </div>
+  </div>
+</div>
+
+
+
+<nav class="site-nav">
+  <ul class="main-menu menu">
+        <li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
+        <li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
+        <li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
+        <li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
+        <li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li>
+      <li class="menu-item menu-item-search">
+        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
+        </a>
+      </li>
+  </ul>
+</nav>
+
+
+
+  <div class="search-pop-overlay">
+    <div class="popup search-popup"><div class="search-header">
+  <span class="search-icon">
+    <i class="fa fa-search"></i>
+  </span>
+  <div class="search-input-container">
+    <input autocomplete="off" autocapitalize="off" maxlength="80"
+           placeholder="搜索..." spellcheck="false"
+           type="search" class="search-input">
+  </div>
+  <span class="popup-btn-close" role="button">
+    <i class="fa fa-times-circle"></i>
+  </span>
+</div>
+<div class="search-result-container no-result">
+  <div class="search-result-icon">
+    <i class="fa fa-spinner fa-pulse fa-5x"></i>
+  </div>
+</div>
+
+    </div>
+  </div>
+
+</div>
+        
+  
+  <div class="toggle sidebar-toggle" role="button">
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+    <span class="toggle-line"></span>
+  </div>
+
+  <aside class="sidebar">
+
+    <div class="sidebar-inner sidebar-nav-active sidebar-toc-active">
+      <ul class="sidebar-nav">
+        <li class="sidebar-nav-toc">
+          文章目录
+        </li>
+        <li class="sidebar-nav-overview">
+          站点概览
+        </li>
+      </ul>
+
+      <div class="sidebar-panel-container">
+        <!--noindex-->
+        <div class="post-toc-wrap sidebar-panel">
+            <div class="post-toc animated"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#%E4%BB%80%E4%B9%88%E6%98%AFCAS"><span class="nav-number">1.</span> <span class="nav-text">什么是CAS</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#CAS%E7%9A%84%E6%93%8D%E4%BD%9C%E8%BF%87%E7%A8%8B"><span class="nav-number">1.1.</span> <span class="nav-text">CAS的操作过程</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#ABA%E9%97%AE%E9%A2%98"><span class="nav-number">2.</span> <span class="nav-text">ABA问题</span></a></li></ol></div>
+        </div>
+        <!--/noindex-->
+
+        <div class="site-overview-wrap sidebar-panel">
+          <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
+    <img class="site-author-image" itemprop="image" alt="知行"
+      src="/images/apple-touch-icon.png">
+  <p class="site-author-name" itemprop="name">知行</p>
+  <div class="site-description" itemprop="description">韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。</div>
+</div>
+<div class="site-state-wrap site-overview-item animated">
+  <nav class="site-state">
+      <div class="site-state-item site-state-posts">
+          <a href="/archives/">
+        
+          <span class="site-state-item-count">45</span>
+          <span class="site-state-item-name">日志</span>
+        </a>
+      </div>
+      <div class="site-state-item site-state-categories">
+            <a href="/categories/">
+          
+        <span class="site-state-item-count">29</span>
+        <span class="site-state-item-name">分类</span></a>
+      </div>
+      <div class="site-state-item site-state-tags">
+            <a href="/tags/">
+          
+        <span class="site-state-item-count">27</span>
+        <span class="site-state-item-name">标签</span></a>
+      </div>
+  </nav>
+</div>
+  <div class="links-of-author site-overview-item animated">
+      <span class="links-of-author-item">
+        <a href="https://github.com/izhixing" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;izhixing" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
+      </span>
+      <span class="links-of-author-item">
+        <a href="mailto:3137650480@qq.com" title="E-Mail → mailto:3137650480@qq.com" rel="noopener" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
+      </span>
+  </div>
+
+
+
+        </div>
+      </div>
+    </div>
+  </aside>
+  <div class="sidebar-dimmer"></div>
+
+
+    </header>
+
+    
+  <div class="back-to-top" role="button">
+    <i class="fa fa-arrow-up"></i>
+    <span>0%</span>
+  </div>
+
+  <a href="https://github.com/izhixing" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
+
+<noscript>
+  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
+</noscript>
+
+
+    <div class="main-inner post posts-expand">
+
+
+  
+
+
+<div class="post-block">
+  
+  
+
+  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="zh-CN">
+    <link itemprop="mainEntityOfPage" href="https://blog.izhixing.icu/posts/ce4f4d1f.html">
+
+    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
+      <meta itemprop="image" content="/images/apple-touch-icon.png">
+      <meta itemprop="name" content="知行">
+      <meta itemprop="description" content="韭零后一枚,技术菜鸟,喜欢做白日梦,热爱修仙,任职于一小公司里撸代码。">
+    </span>
+
+    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
+      <meta itemprop="name" content="知行">
+    </span>
+      <header class="post-header">
+        <h1 class="post-title" itemprop="name headline">
+          CAS操作和ABA问题
+        </h1>
+
+        <div class="post-meta-container">
+          <div class="post-meta">
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-calendar"></i>
+      </span>
+      <span class="post-meta-item-text">发表于</span>
+      
+
+      <time title="创建时间:2021-04-06 16:11:00 / 修改时间:22:39:44" itemprop="dateCreated datePublished" datetime="2021-04-06T16:11:00+08:00">2021-04-06</time>
+    </span>
+    <span class="post-meta-item">
+      <span class="post-meta-item-icon">
+        <i class="far fa-folder"></i>
+      </span>
+      <span class="post-meta-item-text">分类于</span>
+        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
+          <a href="/categories/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" itemprop="url" rel="index"><span itemprop="name">多线程</span></a>
+        </span>
+    </span>
+
+  
+    <span id="/posts/ce4f4d1f.html" class="post-meta-item leancloud_visitors" data-flag-title="CAS操作和ABA问题" title="阅读次数">
+      <span class="post-meta-item-icon">
+        <i class="far fa-eye"></i>
+      </span>
+      <span class="post-meta-item-text">阅读次数:</span>
+      <span class="leancloud-visitors-count"></span>
+    </span>
+</div>
+
+        </div>
+      </header>
+
+    
+    
+    
+    <div class="post-body" itemprop="articleBody">
+        <p>多线程开发中,通常会加锁做并发控制,但是加锁会让性能降低,因此有了CAS操作,但CAS操作会引发ABA问题。</p>
+<span id="more"></span>
+
+
+
+<h1 id="什么是CAS"><a href="#什么是CAS" class="headerlink" title="什么是CAS"></a>什么是CAS</h1><p>CAS(Compare and Swap,比较和交换),是一种乐观锁(同时操作同一个对象的概率非常小,因此大部分加锁操作做的都是无用功)的实现方式,是以一种无锁的方式实现并发控制,即在多线程环境下,以不加锁的方式对数据进行修改。</p>
+<h2 id="CAS的操作过程"><a href="#CAS的操作过程" class="headerlink" title="CAS的操作过程"></a>CAS的操作过程</h2><p>CAS(V,E,N),V表示要更新变量的值(变量当前值),E表示预期值(变量的旧值),N表示新值。</p>
+<p>仅当 V值等于E值时,才会将V的值设为N,如果V值和E值不同,则说明已经有其他线程做更新,则当前线程则什么都不做。</p>
+<p>最后,CAS 返回当前V的真实值。</p>
+<h1 id="ABA问题"><a href="#ABA问题" class="headerlink" title="ABA问题"></a>ABA问题</h1><p>ABA问题,是指CAS操作中,其它线程把变量的值进行了修改但是修改的值与原始值一致,使CAS的比较判断出错,即无法感知数据被修改过,导致程序异常。</p>
+<p>避免方法:加入版本号进行记录,CAS操作时比较一下版本号就能判断出是不是属于自己的那次CAS操作了。</p>
+
+    </div>
+
+    
+    
+    
+
+    <footer class="post-footer">
+          <div class="post-tags">
+              <a href="/tags/%E5%A4%9A%E7%BA%BF%E7%A8%8B/" rel="tag"># 多线程</a>
+          </div>
+
+        
+
+          <div class="post-nav">
+            <div class="post-nav-item">
+                <a href="/posts/7ae49b47.html" rel="prev" title="CAP理论和BASE理论">
+                  <i class="fa fa-chevron-left"></i> CAP理论和BASE理论
+                </a>
+            </div>
+            <div class="post-nav-item">
+                <a href="/posts/44e8cd7.html" rel="next" title="进程间的通信方式">
+                  进程间的通信方式 <i class="fa fa-chevron-right"></i>
+                </a>
+            </div>
+          </div>
+    </footer>
+  </article>
+</div>
+
+
+
+
+
+
+    <div class="comments gitalk-container"></div>
+
+<script>
+  window.addEventListener('tabs:register', () => {
+    let { activeClass } = CONFIG.comments;
+    if (CONFIG.comments.storage) {
+      activeClass = localStorage.getItem('comments_active') || activeClass;
+    }
+    if (activeClass) {
+      const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
+      if (activeTab) {
+        activeTab.click();
+      }
+    }
+  });
+  if (CONFIG.comments.storage) {
+    window.addEventListener('tabs:click', event => {
+      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
+      const commentClass = event.target.classList[1];
+      localStorage.setItem('comments_active', commentClass);
+    });
+  }
+</script>
+</div>
+  </main>
+
+  <footer class="footer">
+    <div class="footer-inner">
+
+
+<div class="copyright">
+  &copy; 2018 – 
+  <span itemprop="copyrightYear">2021</span>
+  <span class="with-love">
+    <i class="fa fa-heart"></i>
+  </span>
+  <span class="author" itemprop="copyrightHolder">知行</span>
+</div>
+  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/" class="theme-link" rel="noopener" target="_blank">NexT.Gemini</a> 强力驱动
+  </div>
+
+    </div>
+  </footer>
+
+  
+  <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
+<script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/next-boot.js"></script>
+
+  
+<script src="/js/local-search.js"></script>
+
+
+
+
+
+
+  
+
+
+<script>
+  (function() {
+    function leancloudSelector(url) {
+      url = encodeURI(url);
+      return document.getElementById(url).querySelector('.leancloud-visitors-count');
+    }
+
+    function addCount(Counter) {
+      const visitors = document.querySelector('.leancloud_visitors');
+      const url = decodeURI(visitors.id);
+      const title = visitors.dataset.flagTitle;
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          if (results.length > 0) {
+            const counter = results[0];
+            leancloudSelector(url).innerText = counter.time + 1;
+            Counter('put', '/classes/Counter/' + counter.objectId, { time: { '__op': 'Increment', 'amount': 1 } })
+              .catch(error => {
+                console.error('Failed to save visitor count', error);
+              });
+          } else {
+              leancloudSelector(url).innerText = 'Counter not initialized! More info at console err msg.';
+              console.error('ATTENTION! LeanCloud counter has security bug, see how to solve it here: https://github.com/theme-next/hexo-leancloud-counter-security. \n However, you can still use LeanCloud without security, by setting `security` option to `false`.');
+            
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    function showTime(Counter) {
+      const visitors = document.querySelectorAll('.leancloud_visitors');
+      const entries = [...visitors].map(element => {
+        return decodeURI(element.id);
+      });
+
+      Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({ url: { '$in': entries } })))
+        .then(response => response.json())
+        .then(({ results }) => {
+          for (let url of entries) {
+            const target = results.find(item => item.url === url);
+            leancloudSelector(url).innerText = target ? target.time : 0;
+          }
+        })
+        .catch(error => {
+          console.error('LeanCloud Counter Error', error);
+        });
+    }
+
+    const { app_id, app_key, server_url } = {"enable":true,"app_id":"EVuNVQdwjVVETLVOGGdClySN-gzGzoHsz","app_key":"UBIufuTIEV1gHcdJIx6IOmyN","server_url":null,"security":true};
+    function fetchData(api_server) {
+      const Counter = (method, url, data) => {
+        return fetch(`${api_server}/1.1${url}`, {
+          method,
+          headers: {
+            'X-LC-Id'     : app_id,
+            'X-LC-Key'    : app_key,
+            'Content-Type': 'application/json',
+          },
+          body: JSON.stringify(data)
+        });
+      };
+      if (CONFIG.page.isPost) {
+        if (CONFIG.hostname !== location.hostname) return;
+        addCount(Counter);
+      } else if (document.querySelectorAll('.post-title-link').length >= 1) {
+        showTime(Counter);
+      }
+    }
+
+    const api_server = app_id.slice(-9) === '-MdYXbMMI' ? `https://${app_id.slice(0, 8).toLowerCase()}.api.lncldglobal.com` : server_url;
+
+    if (api_server) {
+      fetchData(api_server);
+    } else {
+      fetch('https://app-router.leancloud.cn/2/route?appId=' + app_id)
+        .then(response => response.json())
+        .then(({ api_server }) => {
+          fetchData('https://' + api_server);
+        });
+    }
+  })();
+</script>
+
+
+  
+
+
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.css">
+
+<script>
+NexT.utils.loadComments('.gitalk-container', () => {
+  NexT.utils.getScript('https://cdn.jsdelivr.net/npm/gitalk@1.7.0/dist/gitalk.min.js', () => {
+    var gitalk = new Gitalk({
+      clientID    : '37644037ac52d12cdd8a',
+      clientSecret: '09993925bc5a09337e2d13cc1225761ca099d39b',
+      repo        : 'izhixing.github.io',
+      owner       : 'izhixing',
+      admin       : ['izhixing'],
+      id          : 'd41511ca8b08e1a579d6f642fcfb9e2f',
+      proxy       : 'https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token',
+        language: '',
+      distractionFreeMode: true
+    });
+    gitalk.render(document.querySelector('.gitalk-container'));
+  }, window.Gitalk);
+});
+</script>
+
+</body>
+</html>

+ 5 - 5
posts/d1f7f56f.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="要开发一个操作系统,搭建开发环境是必不可少的,本篇文章就介绍如何使用Linux、bochs搭建开发环境。">
 <meta property="og:description" content="要开发一个操作系统,搭建开发环境是必不可少的,本篇文章就介绍如何使用Linux、bochs搭建开发环境。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-10-10T13:29:20.000Z">
 <meta property="article:published_time" content="2019-10-10T13:29:20.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="操作系统">
 <meta property="article:tag" content="操作系统">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/daf2aad3.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="代码中访问数据库的时候,经常需要传输参数用作语句条件,这就不得不用到MyBatis提供的占位符。">
 <meta property="og:description" content="代码中访问数据库的时候,经常需要传输参数用作语句条件,这就不得不用到MyBatis提供的占位符。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-04-03T14:32:18.000Z">
 <meta property="article:published_time" content="2021-04-03T14:32:18.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="MyBatis">
 <meta property="article:tag" content="MyBatis">
 <meta name="twitter:card" content="summary">
 <meta name="twitter:card" content="summary">
@@ -213,20 +213,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -306,7 +306,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/e0bb8399.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="redis共有8种淘汰策略。具体可分成3种类型。">
 <meta property="og:description" content="redis共有8种淘汰策略。具体可分成3种类型。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2021-03-29T12:59:27.000Z">
 <meta property="article:published_time" content="2021-03-29T12:59:27.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.492Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="缓存">
 <meta property="article:tag" content="缓存">
 <meta property="article:tag" content="Redis">
 <meta property="article:tag" content="Redis">
@@ -214,20 +214,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -307,7 +307,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

+ 5 - 5
posts/e38e4cbe.html

@@ -32,7 +32,7 @@
 <meta property="og:description" content="在MySQL中,没有专门用于存储IP地址的数据类型,但是可以使用inet_aton()函数把IP地址转换成整型数值进行存储,使用inet_ntoa()函数把整型数值转换回IP地址。">
 <meta property="og:description" content="在MySQL中,没有专门用于存储IP地址的数据类型,但是可以使用inet_aton()函数把IP地址转换成整型数值进行存储,使用inet_ntoa()函数把整型数值转换回IP地址。">
 <meta property="og:locale" content="zh_CN">
 <meta property="og:locale" content="zh_CN">
 <meta property="article:published_time" content="2019-10-26T09:07:44.000Z">
 <meta property="article:published_time" content="2019-10-26T09:07:44.000Z">
-<meta property="article:modified_time" content="2021-04-05T13:18:06.729Z">
+<meta property="article:modified_time" content="2021-04-06T14:39:44.496Z">
 <meta property="article:author" content="知行">
 <meta property="article:author" content="知行">
 <meta property="article:tag" content="数据库">
 <meta property="article:tag" content="数据库">
 <meta property="article:tag" content="MySQL">
 <meta property="article:tag" content="MySQL">
@@ -214,20 +214,20 @@
       <div class="site-state-item site-state-posts">
       <div class="site-state-item site-state-posts">
           <a href="/archives/">
           <a href="/archives/">
         
         
-          <span class="site-state-item-count">37</span>
+          <span class="site-state-item-count">45</span>
           <span class="site-state-item-name">日志</span>
           <span class="site-state-item-name">日志</span>
         </a>
         </a>
       </div>
       </div>
       <div class="site-state-item site-state-categories">
       <div class="site-state-item site-state-categories">
             <a href="/categories/">
             <a href="/categories/">
           
           
-        <span class="site-state-item-count">25</span>
+        <span class="site-state-item-count">29</span>
         <span class="site-state-item-name">分类</span></a>
         <span class="site-state-item-name">分类</span></a>
       </div>
       </div>
       <div class="site-state-item site-state-tags">
       <div class="site-state-item site-state-tags">
             <a href="/tags/">
             <a href="/tags/">
           
           
-        <span class="site-state-item-count">24</span>
+        <span class="site-state-item-count">27</span>
         <span class="site-state-item-name">标签</span></a>
         <span class="site-state-item-name">标签</span></a>
       </div>
       </div>
   </nav>
   </nav>
@@ -307,7 +307,7 @@
           <i class="far fa-calendar-check"></i>
           <i class="far fa-calendar-check"></i>
         </span>
         </span>
         <span class="post-meta-item-text">更新于</span>
         <span class="post-meta-item-text">更新于</span>
-        <time title="修改时间:2021-04-05 21:18:06" itemprop="dateModified" datetime="2021-04-05T21:18:06+08:00">2021-04-05</time>
+        <time title="修改时间:2021-04-06 22:39:44" itemprop="dateModified" datetime="2021-04-06T22:39:44+08:00">2021-04-06</time>
       </span>
       </span>
     <span class="post-meta-item">
     <span class="post-meta-item">
       <span class="post-meta-item-icon">
       <span class="post-meta-item-icon">

Some files were not shown because too many files changed in this diff