{"id":3377,"date":"2018-11-17T17:21:52","date_gmt":"2018-11-17T09:21:52","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=3377"},"modified":"2018-11-17T17:21:52","modified_gmt":"2018-11-17T09:21:52","slug":"%e5%ad%a6%e4%bc%9a-java-%e4%b8%ad%e7%9a%84%e9%94%81%ef%bc%8c%e4%bd%a0%e5%8f%aa%e9%9c%80%e8%a6%81%e8%ae%b0%e4%bd%8f-6-%e5%8f%a5%e6%b3%95%e5%88%99%e5%8d%b3%e5%8f%af%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=3377","title":{"rendered":"\u5b66\u4f1a Java \u4e2d\u7684\u9501\uff0c\u4f60\u53ea\u9700\u8981\u8bb0\u4f4f 6 \u53e5\u6cd5\u5219\u5373\u53ef\uff01"},"content":{"rendered":"<p>\n\tJava \u4e2d\u65e5\u5e38\u7528\u5230\u7684\u9501\u5927\u6982\u6709 14 \u79cd\uff1a\u60b2\u89c2\u9501\u3001\u4e50\u89c2\u9501\u3001\u81ea\u65cb\u9501\u3001\u9002\u5e94\u6027\u81ea\u65cb\u9501\u3001\u65e0\u9501\u3001\u504f\u5411\u9501\u3001\u8f7b\u91cf\u7ea7\u9501\u3001\u91cd\u91cf\u7ea7\u9501\u3001\u516c\u5e73\u9501\u3001\u975e\u516c\u5e73\u9501\u3001\u53ef\u91cd\u5165\u9501\u3001\u975e\u53ef\u91cd\u5165\u9501\u3001\u72ec\u4eab\u9501\u3001\u5171\u4eab\u9501\u3002\n<\/p>\n<p>\n\t\u6bcf\u79cd\u9501\u90fd\u6709\u4e0d\u540c\u7684\u4f7f\u7528\u573a\u666f\uff01\u5177\u4f53\u54ea\u79cd\u573a\u666f\u4f7f\u7528\u54ea\u79cd\u9501\uff0c\u4f60\u53ea\u9700\u8981\u56de\u7b54\u4e0b\u9762 6 \u4e2a\u95ee\u9898\u5373\u53ef\uff01\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"Java \u4e2d\u7684\u6240\u6709\u9501\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/java-all-lock.png\" style=\"width: 1372px;height: 1206px\" \/>\n<\/p>\n<p>\n\t\u5176\u5b9e\u6240\u6709\u7684\u77e5\u8bc6\u70b9\u90fd\u5f88\u7b80\u5355\uff0c\u53ea\u8981\u4f60\u60f3\u53bb\u603b\u7ed3\u5b83\u4eec\u3002\n<\/p>\n<p>\n\tJava \u63d0\u4f9b\u4e86\u79cd\u7c7b\u4e30\u5bcc\u7684\u9501\uff0c\u6bcf\u79cd\u9501\u56e0\u5176\u7279\u6027\u7684\u4e0d\u540c\uff0c\u5728\u9002\u5f53\u7684\u573a\u666f\u4e0b\u80fd\u591f\u5c55\u73b0\u51fa\u975e\u5e38\u9ad8\u7684\u6548\u7387\u3002\n<\/p>\n<p>\n\t\u524d\u9762\u6211\u63d0\u4f9b\u4e86\u4e00\u5957\u5173\u4e8e Java \u4e2d\u76f8\u5173\u9501\u4ee5\u53ca\u7ebf\u7a0b\u5b89\u5168\u65b9\u9762\u7684\u89c6\u9891\u6559\u7a0b\uff0c\u4f30\u8ba1\u5f88\u591a\u4eba\u8fd8\u6ca1\u6709\u8ba4\u771f\u770b\u5427\uff01\u4f60\u53c8\u4e0d\u770b\u89c6\u9891\uff0c\u53c8\u4e0d\u5584\u4e8e\u603b\u7ed3\uff0c\u4ec0\u4e48\u65f6\u95f4\u624d\u80fd\u5b9e\u73b0\u68a6\u60f3\uff01\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"java.util.concurrent\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/juc.png\" style=\"width: 1563px;height: 740px\" \/>\n<\/p>\n<p>\n\t\u8ba4\u771f\u5b66\u4e60 Java \u4e2d\u7684&nbsp;java.util.concurrent\uff0c\u5c31\u80fd\u8ba9\u4f60\u5f3a\u5230\u6ca1\u6709\u5bf9\u624b\uff01\n<\/p>\n<p>\n\t\u8fd9\u4e9b\u5185\u5bb9\uff0c\u540e\u9762\u6211\u90fd\u4f1a\u627e\u65f6\u95f4\u4e00\u7bc7\u4e00\u7bc7\u7684\u6765\u5199\u3002\u5728\u6211\u8fdb\u6b65\u7684\u540c\u65f6\uff0c\u5927\u5bb6\u4e5f\u53ef\u4ee5\u7ed9\u6211\u63d0\u66f4\u9ad8\u7684\u8981\u6c42\u3002\n<\/p>\n<p>\n\t\u7fa4\u91cc\u5f88\u591a\u670b\u53cb\u5468\u516d\u5468\u65e5\u4e5f\u5728\u5199\u4ee3\u7801\uff0c\u6211\u8ba4\u4e3a\u662f\u9700\u8981\u6279\u8bc4\u7684\u3002\u5468\u516d\u5468\u65e5\u90fd\u662f\u4f11\u606f\u65f6\u95f4\uff0c\u4f11\u606f\u65f6\u95f4\u5927\u5bb6\u591a\u770b\u770b\u89c6\u9891\u6559\u7a0b\u3002\u4e0d\u8981\u6574\u5929\u5728\u5199CRUD\uff0c\u8fd9\u6837\u4f60\u6ca1\u673a\u4f1a\u8fdb\u6b65\u7684\u3002\u4e00\u5b9a\u8981\u627e\u673a\u4f1a\u63d0\u5347\u81ea\u5df1\uff0c\u800c\u4e0d\u662f\u627e\u673a\u4f1a\u5b8c\u6210\u5de5\u4f5c\uff01\u8fd9\u548c\u780d\u67f4\u9700\u8981\u78e8\u5200\u662f\u4e00\u4e2a\u9053\u7406\uff01\n<\/p>\n<p>\n\t\u4eca\u5929\u7531\u4e8e\u6709\u5176\u4ed6\u4e8b\u60c5\uff0c\u5c31\u5148\u628a\u8fd9\u7bc7\u4e0d\u4f26\u4e0d\u7c7b\u7684\u6587\u7ae0\u4eae\u7ed9\u5927\u5bb6\uff01<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=3377\">\u5b66\u4f1a Java \u4e2d\u7684\u9501\uff0c\u4f60\u53ea\u9700\u8981\u8bb0\u4f4f 6 \u53e5\u6cd5\u5219\u5373\u53ef\uff01<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>Java \u4e2d\u65e5\u5e38\u7528\u5230\u7684\u9501\u5927\u6982\u6709 14 \u79cd\uff1a\u60b2\u89c2\u9501\u3001\u4e50\u89c2\u9501\u3001\u81ea\u65cb\u9501\u3001\u9002\u5e94\u6027\u81ea\u65cb\u9501\u3001\u65e0\u9501\u3001\u504f\u5411\u9501\u3001\u8f7b\u91cf\u7ea7\u9501\u3001\u91cd\u91cf\u7ea7 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[1164,1727,618,712,531],"class_list":["post-3377","post","type-post","status-publish","format-standard","hentry","category-java","category-yyzt","tag-concurrenthashmap","tag-java8","tag-reentrantlock","tag-531"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/3377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3377"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/3377\/revisions"}],"predecessor-version":[{"id":3378,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/3377\/revisions\/3378"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}