{"id":2466,"date":"2023-06-29T10:40:25","date_gmt":"2023-06-29T02:40:25","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=2466"},"modified":"2023-06-29T10:40:25","modified_gmt":"2023-06-29T02:40:25","slug":"%e6%9c%ac%e5%9c%b0%e7%bc%93%e5%ad%98%e4%b9%8b%e7%8e%8b%ef%bc%8ccaffeine%e4%bf%9d%e5%a7%86%e7%ba%a7%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/uncategorized\/%e6%9c%ac%e5%9c%b0%e7%bc%93%e5%ad%98%e4%b9%8b%e7%8e%8b%ef%bc%8ccaffeine%e4%bf%9d%e5%a7%86%e7%ba%a7%e6%95%99%e7%a8%8b\/","title":{"rendered":"\u672c\u5730\u7f13\u5b58\u4e4b\u738b\uff0cCaffeine\u4fdd\u59c6\u7ea7\u6559\u7a0b"},"content":{"rendered":"<div class='wxsyncmain'>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" data-mpa-powered-by=\"yiban.io\">\n<h1 data-tool=\"mdnice\u7f16\u8f91\u5668\"><strong style=\"outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);text-align: left;word-spacing: 0.8px;color: rgb(255, 169, 0);font-size: 15px;visibility: visible;\"><span style=\"outline: 0px;font-family: Optima-Regular, PingFangTC-light;visibility: visible;\"><strong style=\"outline: 0px;letter-spacing: 0.544px;color: rgb(136, 136, 136);font-family: Arial, Helvetica, sans-serif;font-size: 12px;visibility: visible;\"><strong style=\"outline: 0px;letter-spacing: 0.544px;color: rgb(0, 0, 0);widows: 1;word-spacing: 1px;caret-color: rgb(255, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 16px;visibility: visible;\">\u70b9\u51fb\u5173\u6ce8\u516c\u4f17\u53f7\uff0cJava\u5e72\u8d27<\/strong><span style=\"outline: 0px;letter-spacing: 0.544px;widows: 1;word-spacing: 1px;caret-color: rgb(255, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 16px;color: rgb(255, 76, 65);visibility: visible;\"><strong style=\"outline: 0px;visibility: visible;\">\u53ca\u65f6\u9001\u8fbe<\/strong><\/span><\/strong><strong style=\"outline: 0px;letter-spacing: 0.544px;color: rgb(136, 136, 136);font-family: Arial, Helvetica, sans-serif;font-size: 12px;visibility: visible;\"><span style=\"outline: 0px;letter-spacing: 0.544px;widows: 1;word-spacing: 1px;caret-color: rgb(255, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;font-size: 16px;color: rgb(255, 76, 65);visibility: visible;\">?<\/span><\/strong><\/span><\/strong><\/h1>\n<section class=\"mp_profile_iframe_wrp\"><mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-weui-theme=\"light\" data-id=\"MzAxNjk4ODE4OQ==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/rtJ5LhxxzwnbUicAvdMbPRUnia3f4BqeTWKY36vv0Fo7EKp2vzDFQoStoOpOIITicknjibGLyWYAtftKt39aSH4lTw\/0?wx_fmt=png\" data-nickname=\"\u65b9\u5fd7\u670b\" data-alias=\"walkingstory\" data-signature=\"\u53f7\u4e3b\u4e3aCSDN\u535a\u5ba2\u4e4b\u661f\uff0c\u535a\u5ba2\u8bbf\u95ee\u91cf\u7a81\u7834\u4e00\u5343\u4e07\uff0c\u8457\u6709\u7545\u9500\u4e66\u300a\u6df1\u5165\u7406\u89e3SpringCloud\u4e0e\u5fae\u670d\u52a1\u6784\u5efa\u300b\u3002\u4e3b\u8981\u5206\u4eabJava\u3001\u540e\u7aef\u67b6\u6784\u7b49\u6280\u672f\uff0c\u7528\u5927\u5382\u7a0b\u5e8f\u5458\u7684\u89c6\u89d2\u6765\u63a2\u8ba8\u6280\u672f\u8fdb\u9636\u3001\u9762\u8bd5\u6307\u5357\u3001\u804c\u4e1a\u89c4\u5212\u7b49\u300215W\u6280\u672f\u4eba\u7684\u9009\u62e9\uff01\" data-from=\"0\" data-is_biz_ban=\"0\"><\/mp-common-profile><\/section>\n<h1 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 1.8em;color: rgb(0, 150, 136);margin: 1.2em auto;text-align: center;border-bottom: 1px solid rgb(0, 150, 136);\">\u4e00\u3001Caffeine\u4ecb\u7ecd<\/h1>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 0.6em auto;padding-left: 10px;border-left: 2px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>1\u3001\u7f13\u5b58\u4ecb\u7ecd<span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u7f13\u5b58(Cache)\u5728\u4ee3\u7801\u4e16\u754c\u4e2d\u65e0\u5904\u4e0d\u5728\u3002\u4ece\u5e95\u5c42\u7684CPU\u591a\u7ea7\u7f13\u5b58\uff0c\u5230\u5ba2\u6237\u7aef\u7684\u9875\u9762\u7f13\u5b58\uff0c\u5904\u5904\u90fd\u5b58\u5728\u7740\u7f13\u5b58\u7684\u8eab\u5f71\u3002\u7f13\u5b58\u4ece\u672c\u8d28\u4e0a\u6765\u8bf4\uff0c\u662f\u4e00\u79cd\u7a7a\u95f4\u6362\u65f6\u95f4\u7684\u624b\u6bb5\uff0c\u901a\u8fc7\u5bf9\u6570\u636e\u8fdb\u884c\u4e00\u5b9a\u7684\u7a7a\u95f4\u5b89\u6392\uff0c\u4f7f\u5f97\u4e0b\u6b21\u8fdb\u884c\u6570\u636e\u8bbf\u95ee\u65f6\u8d77\u5230\u52a0\u901f\u7684\u6548\u679c\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u5c31Java\u800c\u8a00\uff0c\u5176\u5e38\u7528\u7684\u7f13\u5b58\u89e3\u51b3\u65b9\u6848\u6709\u5f88\u591a\uff0c\u4f8b\u5982\u6570\u636e\u5e93\u7f13\u5b58\u6846\u67b6EhCache\uff0c\u5206\u5e03\u5f0f\u7f13\u5b58Memcached\u7b49\uff0c\u8fd9\u4e9b\u7f13\u5b58\u65b9\u6848\u5b9e\u9645\u4e0a\u90fd\u662f\u4e3a\u4e86\u63d0\u5347\u541e\u5410\u6548\u7387\uff0c\u907f\u514d\u6301\u4e45\u5c42\u538b\u529b\u8fc7\u5927\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u5bf9\u4e8e\u5e38\u89c1\u7f13\u5b58\u7c7b\u578b\u800c\u8a00\uff0c\u53ef\u4ee5\u5206\u4e3a\u672c\u5730\u7f13\u5b58\u4ee5\u53ca\u5206\u5e03\u5f0f\u7f13\u5b58\u4e24\u79cd\uff0cCaffeine\u5c31\u662f\u4e00\u79cd\u4f18\u79c0\u7684\u672c\u5730\u7f13\u5b58\uff0c\u800cRedis\u53ef\u4ee5\u7528\u6765\u505a\u5206\u5e03\u5f0f\u7f13\u5b58<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 0.6em auto;padding-left: 10px;border-left: 2px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>2\u3001Caffeine\u4ecb\u7ecd<span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">Caffeine\u5b98\u65b9\uff1a<\/p>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-top: none;border-bottom: none;font-size: 0.9em;overflow: auto;background: rgba(0, 0, 0, 0.05);padding: 10px 10px 10px 1em;margin-bottom: 20px;margin-top: 20px;border-left-width: 2px;border-left-color: rgb(136, 136, 136);border-right: 2px solid rgb(136, 136, 136);color: rgb(119, 119, 119);\">\n<ul style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">https:\/\/github.com\/ben-manes\/caffeine<\/section>\n<\/li>\n<\/ul>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">Caffeine\u662f\u57fa\u4e8eJava 1.8\u7684\u9ad8\u6027\u80fd\u672c\u5730\u7f13\u5b58\u5e93\uff0c\u7531Guava\u6539\u8fdb\u800c\u6765\uff0c\u800c\u4e14\u5728Spring5\u5f00\u59cb\u7684\u9ed8\u8ba4\u7f13\u5b58\u5b9e\u73b0\u5c31\u5c06Caffeine\u4ee3\u66ff\u539f\u6765\u7684Google Guava\uff0c\u5b98\u65b9\u8bf4\u660e\u6307\u51fa\uff0c\u5176\u7f13\u5b58\u547d\u4e2d\u7387\u5df2\u7ecf\u63a5\u8fd1\u6700\u4f18\u503c\u3002\u5b9e\u9645\u4e0aCaffeine\u8fd9\u6837\u7684\u672c\u5730\u7f13\u5b58\u548cConcurrentMap\u5f88\u50cf\uff0c\u5373\u652f\u6301\u5e76\u53d1\uff0c\u5e76\u4e14\u652f\u6301O(1)\u65f6\u95f4\u590d\u6742\u5ea6\u7684\u6570\u636e\u5b58\u53d6\u3002\u4e8c\u8005\u7684\u4e3b\u8981\u533a\u522b\u5728\u4e8e\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">ConcurrentMap\u5c06\u5b58\u50a8\u6240\u6709\u5b58\u5165\u7684\u6570\u636e\uff0c\u76f4\u5230\u4f60\u663e\u5f0f\u5c06\u5176\u79fb\u9664\uff1b<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">Caffeine\u5c06\u901a\u8fc7\u7ed9\u5b9a\u7684\u914d\u7f6e\uff0c\u81ea\u52a8\u79fb\u9664\u201c\u4e0d\u5e38\u7528\u201d\u7684\u6570\u636e\uff0c\u4ee5\u4fdd\u6301\u5185\u5b58\u7684\u5408\u7406\u5360\u7528\u3002<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u56e0\u6b64\uff0c\u4e00\u79cd\u66f4\u597d\u7684\u7406\u89e3\u65b9\u5f0f\u662f\uff1aCache\u662f\u4e00\u79cd\u5e26\u6709\u5b58\u50a8\u548c\u79fb\u9664\u7b56\u7565\u7684Map\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.496875\"  data-type=\"png\" data-w=\"640\" style=\"display: block;margin-right: auto;margin-left: auto;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104004399.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.496875\"  data-type=\"png\" data-w=\"640\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104004399.png\"><\/noscript><\/figure>\n<h1 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 1.8em;color: rgb(0, 150, 136);margin: 1.2em auto;text-align: center;border-bottom: 1px solid rgb(0, 150, 136);\"><span style=\"display: none;\"><\/span>\u4e8c\u3001Caffeine\u57fa\u7840<\/h1>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;text-align: justify;\">\u4f7f\u7528Caffeine\uff0c\u9700\u8981\u5728\u5de5\u7a0b\u4e2d\u5f15\u5165\u5982\u4e0b\u4f9d\u8d56<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;border-radius: 5px;box-shadow: rgba(0, 0, 0, 0.55) 0px 2px 10px;\"><span style=\"display: block;background: url(&quot;https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104008640.jpeg&quot;) 10px 10px \/ 40px no-repeat rgb(40, 44, 52);height: 30px;width: 100%;margin-bottom: -7px;border-radius: 5px;\"><\/span><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;font-size: 12px;-webkit-overflow-scrolling: touch;padding-top: 15px;background: #282c34;border-radius: 5px;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">\/**<br  \/>&nbsp;*&nbsp;value\uff1a\u7f13\u5b58key\u7684\u524d\u7f00\u3002<br  \/>&nbsp;*&nbsp;key\uff1a\u7f13\u5b58key\u7684\u540e\u7f00\u3002<br  \/>&nbsp;*&nbsp;sync\uff1a\u8bbe\u7f6e\u5982\u679c\u7f13\u5b58\u8fc7\u671f\u662f\u4e0d\u662f\u53ea\u653e\u4e00\u4e2a\u8bf7\u6c42\u53bb\u8bf7\u6c42\u6570\u636e\u5e93\uff0c\u5176\u4ed6\u8bf7\u6c42\u963b\u585e\uff0c\u9ed8\u8ba4\u662ffalse\uff08\u6839\u636e\u4e2a\u4eba\u9700\u6c42\uff09\u3002<br  \/>&nbsp;*&nbsp;unless\uff1a\u4e0d\u7f13\u5b58\u7a7a\u503c,\u8fd9\u91cc\u4e0d\u4f7f\u7528\uff0c\u4f1a\u62a5\u9519<br  \/>&nbsp;*&nbsp;\u67e5\u8be2\u7528\u6237\u4fe1\u606f\u7c7b<br  \/>&nbsp;*&nbsp;\u5982\u679c\u9700\u8981\u52a0\u81ea\u5b9a\u4e49\u5b57\u7b26\u4e32\uff0c\u9700\u8981\u7528\u5355\u5f15\u53f7<br  \/>&nbsp;*&nbsp;\u5982\u679c\u67e5\u8be2\u4e3anull\uff0c\u4e5f\u4f1a\u88ab\u7f13\u5b58<br  \/>&nbsp;*\/<\/span><br  \/><span style=\"color: #61aeee;line-height: 26px;\">@Cacheable<\/span>(value&nbsp;=&nbsp;CacheConstants.GET_USER,key&nbsp;=&nbsp;<span style=\"color: #98c379;line-height: 26px;\">\"'user'+#userId\"<\/span>,sync&nbsp;=&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">true<\/span>)<br  \/><span style=\"color: #61aeee;line-height: 26px;\">@CacheEvict<\/span><br  \/><span style=\"line-height: 26px;\"><span style=\"color: #c678dd;line-height: 26px;\">public<\/span>&nbsp;UserEntity&nbsp;<span style=\"color: #61aeee;line-height: 26px;\">getUserByUserId<\/span><span style=\"line-height: 26px;\">(Integer&nbsp;userId)<\/span><\/span>{<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;UserEntity&nbsp;userEntity&nbsp;=&nbsp;userMapper.findById(userId);<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;System.out.println(<span style=\"color: #98c379;line-height: 26px;\">\"\u67e5\u8be2\u4e86\u6570\u636e\u5e93\"<\/span>);<br  \/>&nbsp;&nbsp;&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">return<\/span>&nbsp;userEntity;<br  \/>}<br  \/><\/code><\/pre>\n<\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;background-color: rgb(255, 255, 255);\">\n<p style=\"outline: 0px;text-align: center;\"><span style=\"outline: 0px;letter-spacing: 0.544px;text-align: right;color: rgb(136, 136, 136);font-size: 12px;\"><em style=\"outline: 0px;\">\u6765\u6e90\uff1ablog.csdn.net\/lemon_TT\/article\/<\/em><\/span><\/p>\n<p style=\"outline: 0px;text-align: center;\"><span style=\"outline: 0px;letter-spacing: 0.544px;text-align: right;color: rgb(136, 136, 136);font-size: 12px;\"><em style=\"outline: 0px;\">details\/122905113<\/em><\/span><\/p>\n<\/section>\n<pre data-darkmode-bgcolor-15923650965579=\"rgb(36, 36, 36)\" data-darkmode-original-bgcolor-15923650965579=\"rgb(255, 255, 255)\" data-darkmode-color-15923650965579=\"rgb(167, 167, 167)\" data-darkmode-original-color-15923650965579=\"rgb(63, 63, 63)\" data-style=\"letter-spacing: 0.544px; font-size: 16px; color: rgb(63, 63, 63); word-spacing: 1px; line-height: inherit;\" style=\"font-size: 16px;letter-spacing: 0.544px;text-align: left;widows: 1;caret-color: rgb(255, 0, 0);background-color: rgb(255, 255, 255);outline: 0px;line-height: 2em;font-family: \u5fae\u8f6f\u96c5\u9ed1;white-space: normal;color: rgb(89, 89, 89);font-weight: 700;orphans: 4;word-spacing: 2px;\"><section><figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 0em;outline: 0px;letter-spacing: 0.544px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><p style=\"outline: 0px;line-height: 2em;letter-spacing: 0.544px;font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u70ed\u95e8\u5185\u5bb9\uff1a<\/p><\/figure><ul class=\"list-paddingleft-1\" style=\"padding-left: 1.5em;width: 577.422px;outline: 0px;\"><li style=\"outline: 0px;\"><figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"outline: 0px;line-height: 2em;letter-spacing: 0.544px;text-size-adjust: auto;\"><p style=\"outline: 0px;line-height: 2em;letter-spacing: 0.544px;text-size-adjust: auto;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzAxNjk4ODE4OQ==&amp;mid=2247536687&amp;idx=1&amp;sn=11087cf64441a2e8fd2f682d5e1fd23d&amp;chksm=9bee715dac99f84b89e8792c899b813157f77b5bf1fcb4ec9fd07cf4e98544d5c5686f0483d5&amp;scene=21#wechat_redirect\" textvalue=\"40\u4ebf\u4e2aQQ\u53f7\uff0c\u9650\u52361G\u5185\u5b58\uff0c\u5982\u4f55\u53bb\u91cd\uff1f\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" >40\u4ebf\u4e2aQQ\u53f7\uff0c\u9650\u52361G\u5185\u5b58\uff0c\u5982\u4f55\u53bb\u91cd\uff1f<\/a><br  \/><\/p><\/figure><\/li><\/ul><figure data-tool=\"mdnice\u7f16\u8f91\u5668\"><\/figure><ul class=\"list-paddingleft-1\" style=\"padding-left: 1.5em;width: 577.422px;outline: 0px;\"><li style=\"outline: 0px;\"><figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"outline: 0px;line-height: 2em;letter-spacing: 0.544px;\"><p style=\"outline: 0px;line-height: 2em;letter-spacing: 0.544px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzAxNjk4ODE4OQ==&amp;mid=2247536669&amp;idx=1&amp;sn=852b6c9cea5ed74c1a23a635b8d0ddab&amp;chksm=9bee716fac99f879946d867708eca1fa90cb5d1ccb271fd202926bd3245c660e6e5a94dddaab&amp;scene=21#wechat_redirect\" textvalue=\"\u4e00\u6b3e\u5f00\u6e90\u7684\u533f\u540d\u804a\u5929\u5de5\u5177\uff0c\u592a\u725b\u4e86\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"color: var(--weui-LINK);outline: 0px;cursor: pointer;\" rel=\"noopener\" rel=\"nofollow\" >\u4e00\u6b3e\u5f00\u6e90\u7684\u533f\u540d\u804a\u5929\u5de5\u5177\uff0c\u592a\u725b\u4e86<\/a><br style=\"outline: 0px;\"  \/><\/p><\/figure><\/li><\/ul><figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"outline: 0px;\"><\/figure><ul class=\"list-paddingleft-1\" style=\"padding-left: 1.5em;width: 577.422px;outline: 0px;\"><li style=\"outline: 0px;\"><figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"outline: 0px;line-height: 2em;letter-spacing: 0.544px;\"><p style=\"outline: 0px;line-height: 2em;letter-spacing: 0.544px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzAxNjk4ODE4OQ==&amp;mid=2247536651&amp;idx=1&amp;sn=126e77991244b80c0c1f7ee74f957be9&amp;chksm=9bee7179ac99f86f124f0d821a47045ec1294cccad327b60953e41be1a534b82ce3ee9ef016f&amp;scene=21#wechat_redirect\" textvalue=\"\u544a\u8b66\uff1a\u7ebf\u4e0a\u614e\u7528 BigDecimal \uff01\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"color: var(--weui-LINK);outline: 0px;cursor: pointer;\" rel=\"noopener\" rel=\"nofollow\" >\u544a\u8b66\uff1a\u7ebf\u4e0a\u614e\u7528 BigDecimal \uff01<\/a><br style=\"outline: 0px;\"  \/><\/p><\/figure><\/li><\/ul><figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"outline: 0px;\"><\/figure><ul class=\"list-paddingleft-1\" style=\"padding-left: 1.5em;width: 577.422px;outline: 0px;\"><li style=\"outline: 0px;\"><figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"outline: 0px;line-height: 2em;letter-spacing: 0.544px;\"><p style=\"outline: 0px;line-height: 2em;letter-spacing: 0.544px;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzAxNjk4ODE4OQ==&amp;mid=2247536607&amp;idx=1&amp;sn=f1796e32adf80ac0447eb2e23b6a2bf3&amp;chksm=9bee6eadac99e7bbc74b3c67634ee5b7ad883b771adec0c861f44401616f0060d453d4d32539&amp;scene=21#wechat_redirect\" textvalue=\"\u9ad8\u6548\u65b9\u6848\uff1a30\u4e07\u6761\u6570\u636e\u63d2\u5165 MySQL \u4ec5\u970013\u79d2\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"color: var(--weui-LINK);outline: 0px;cursor: pointer;\" rel=\"noopener\" rel=\"nofollow\" >\u9ad8\u6548\u65b9\u6848\uff1a30\u4e07\u6761\u6570\u636e\u63d2\u5165 MySQL \u4ec5\u970013\u79d2<\/a><br style=\"outline: 0px;\"  \/><\/p><\/figure><\/li><\/ul><p style=\"outline: 0px;line-height: 2em;letter-spacing: 0.544px;\"><br  \/><\/p><\/section><figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"outline: 0px;letter-spacing: 0.544px;\"><section style=\"outline: 0px;letter-spacing: 0.544px;line-height: 2em;\"><span style=\"outline: 0px;letter-spacing: 0.544px;\"><\/span><\/section><\/figure><section data-mpa-template=\"t\" mpa-paragraph-type=\"ignored\" style=\"outline: 0px;letter-spacing: 0.544px;\"><pre style=\"outline: 0px;font-family: \u5fae\u8f6f\u96c5\u9ed1;white-space: normal;letter-spacing: 0.544px;\"><section style=\"outline: 0px;letter-spacing: 0.544px;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-copyright=\"0\" data-fileid=\"100034207\" data-ratio=\"0.5214592274678111\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"932\" style=\"outline: 0px;letter-spacing: 0.544px;font-family: Avenir, -apple-system-font, \u5fae\u8f6f\u96c5\u9ed1, sans-serif;display: initial;visibility: visible !important;width: 677px !important;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104006200.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-copyright=\"0\" data-fileid=\"100034207\" data-ratio=\"0.5214592274678111\" data-s=\"300,640\"  data-type=\"jpeg\" data-w=\"932\" style=\"outline: 0px;letter-spacing: 0.544px;font-family: Avenir, -apple-system-font, \u5fae\u8f6f\u96c5\u9ed1, sans-serif;display: initial;visibility: visible !important;width: 677px !important;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104006200.jpeg\"  \/><\/noscript><\/section><pre ng-bind-html=\"message.MMActualContent\" style=\"outline: 0px;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;letter-spacing: 0.544px;white-space: pre-wrap;word-break: normal;\"><section data-mpa-template=\"t\" mpa-paragraph-type=\"ignored\" style=\"outline: 0px;letter-spacing: 0.544px;\"><pre style=\"outline: 0px;\"><section style=\"margin-top: 5px;margin-bottom: 5px;outline: 0px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;line-height: 1.6em;\"><span style=\"outline: 0px;font-family: Avenir, -apple-system-font, \u5fae\u8f6f\u96c5\u9ed1, sans-serif;letter-spacing: 0.544px;white-space: pre-line;color: rgb(120, 172, 254);\">\u6700\u8fd1\u9762\u8bd5BAT\uff0c\u6574\u7406\u4e00\u4efd\u9762\u8bd5\u8d44\u6599<\/span><span style=\"outline: 0px;font-family: Avenir, -apple-system-font, \u5fae\u8f6f\u96c5\u9ed1, sans-serif;letter-spacing: 0.544px;white-space: pre-line;color: rgb(61, 167, 66);\">\u300a<strong style=\"outline: 0px;\">Java\u9762\u8bd5BAT\u901a\u5173\u624b\u518c<\/strong>\u300b<\/span><span style=\"outline: 0px;font-family: Avenir, -apple-system-font, \u5fae\u8f6f\u96c5\u9ed1, sans-serif;letter-spacing: 0.544px;white-space: pre-line;color: rgb(120, 172, 254);\">\uff0c\u8986\u76d6\u4e86Java\u6838\u5fc3\u6280\u672f\u3001JVM\u3001Java\u5e76\u53d1\u3001SSM\u3001\u5fae\u670d\u52a1\u3001\u6570\u636e\u5e93\u3001\u6570\u636e\u7ed3\u6784\u7b49\u7b49\u3002<\/span><\/section><section style=\"margin-top: 15px;margin-bottom: 15px;outline: 0px;color: rgb(74, 74, 74);font-family: Avenir, -apple-system-font, \u5fae\u8f6f\u96c5\u9ed1, sans-serif;letter-spacing: 0.544px;white-space: pre-line;line-height: 1.6em;\"><span style=\"outline: 0px;color: rgb(120, 172, 254);\">\u83b7\u53d6\u65b9\u5f0f\uff1a\u70b9\u201c<\/span><span style=\"outline: 0px;letter-spacing: 0.544px;line-height: 30px;color: rgb(61, 167, 66);font-size: 18px;\">\u5728\u770b<\/span><span style=\"outline: 0px;color: rgb(120, 172, 254);\">\u201d\uff0c\u5173\u6ce8\u516c\u4f17\u53f7\u5e76\u56de\u590d&nbsp;<\/span><span style=\"outline: 0px;color: rgb(61, 167, 66);font-size: 18px;\">666<\/span><span style=\"outline: 0px;color: rgb(120, 172, 254);\">&nbsp;\u9886\u53d6\uff0c\u66f4\u591a\u5185\u5bb9\u9646\u7eed\u5949\u4e0a\u3002<\/span><\/section><\/pre>\n<\/section>\n<\/section>\n<section style=\"margin-top: 15px;margin-bottom: 0em;outline: 0px;letter-spacing: 0.544px;min-height: 1em;font-family: -apple-system-font, system-ui, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-align: right;line-height: 1.6em;\"><strong style=\"outline: 0px;letter-spacing: 0.544px;color: rgb(255, 41, 65);font-family: \u5fae\u8f6f\u96c5\u9ed1;\">\u660e\u5929\u89c1(\uff61\uff65\u03c9\uff65\uff61)<\/strong><\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 \u65b9\u5fd7\u670b              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u70b9\u51fb\u5173\u6ce8\u516c\u4f17\u53f7\uff0cJava\u5e72\u8d27\u53ca\u65f6\u9001\u8fbe? \u4e00\u3001Caffeine\u4ecb\u7ecd 1\u3001\u7f13\u5b58\u4ecb\u7ecd \u7f13\u5b58(Cache)\u5728\u4ee3\u7801\u4e16\u754c\u4e2d\u65e0\u5904\u4e0d\u5728\u3002\u4ece\u5e95\u5c42\u7684C &#8230;<\/p>\n","protected":false},"author":1,"featured_media":2462,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-2466","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104002272-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104004399.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104002272-300x300.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104002272.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104004399.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104002272-300x300.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104002272.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104002272.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104004399.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104004399.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104006200.jpeg","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230629104006200.jpeg","id":"image3"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"\u672a\u5206\u7c7b","post_date":"2023-06-29","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":683,"next_post_id":2431,"next_post_title":"\u75c5\u6bd2\u7684\u67e5\u6740\u6b65\u9aa4","previous_post_id":2045,"previous_post_title":"Hadoop \u96c6\u7fa4\u642d\u5efa","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/2466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=2466"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/2466\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/2462"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=2466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=2466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=2466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}