{"id":121833,"date":"2026-11-03T19:25:19","date_gmt":"2026-11-03T11:25:19","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/121833.html"},"modified":"2026-11-03T19:25:19","modified_gmt":"2026-11-03T11:25:19","slug":"redis%e9%80%9f%e6%88%90%e7%ac%94%e8%ae%b0%ef%bc%8cjava%e5%b0%8f%e7%99%bd%e9%9d%a2%e8%af%95%e5%bf%85%e5%88%b7%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/121833.html","title":{"rendered":"Redis\u901f\u6210\u7b14\u8bb0\uff0cJava\u5c0f\u767d\u9762\u8bd5\u5fc5\u5237\uff01"},"content":{"rendered":"<p>        \/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/<br \/>\n        #content_views .toc,<br \/>\n        \/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/<br \/>\n        #content_views.markdown_views &gt; p:empty:has(+ .toc),<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty,<br \/>\n        \/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/<br \/>\n        #content_views.htmledit_views #main-toc,<br \/>\n        #content_views.htmledit_views #hr-toc,<br \/>\n        #content_views.htmledit_views p[id*=\\&#8221;-toc\\&#8221;] {<br \/>\n          display: none !important;<br \/>\n        }<br \/>\n        \/* \u76ee\u5f55\u53bb\u6389\u540e\uff0c\u7d27\u8ddf\u7684\u9996\u4e2a\u6807\u9898\u4e0d\u518d\u591a\u51fa\u4e00\u5757\u4e0a\u8fb9\u8ddd *\/<br \/>\n        #content_views.markdown_views &gt; .toc + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + h4,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h1,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h2,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h3,<br \/>\n        #content_views.markdown_views &gt; .toc + p:empty + h4 {<br \/>\n          margin-top: 0 !important;<br \/>\n        }<\/p>\n<p>Redis\u60f3\u5fc5\u5927\u5bb6\u90fd\u542c\u8bf4\u8fc7&#xff0c;\u4e0d\u7ba1\u662f\u9762\u8bd5\u8fd8\u662f\u5de5\u4f5c\u4e0a\u6211\u4eec\u90fd\u80fd\u89c1\u5230\u3002\u4f46\u662fRedis\u5230\u5e95\u80fd\u5e72\u4ec0\u4e48&#xff1f;\u53c8\u4e0d\u80fd\u5e72\u4ec0\u4e48\u5462&#xff1f;&#xff08;\u5982\u4e0b\u56fe&#xff09;<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"392\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112516-6ae9c49ca3116.png\" width=\"720\" \/><\/p>\n<h3>\u4e3a\u4ec0\u4e48\u8981\u7528Redis&#xff1f;<\/h3>\n<p>\u4e0a\u9762\u8bf4\u4e86Redis\u7684\u4e00\u4e9b\u4f7f\u7528\u573a\u666f&#xff0c;\u90a3\u4e48\u8fd9\u4e9b\u573a\u666f\u7684\u89e3\u51b3\u65b9\u6848\u4e5f\u6709\u5f88\u591a\u5176\u5b83\u9009\u62e9&#xff0c;\u6bd4\u5982\u7f13\u5b58\u53ef\u4ee5\u7528Memcache&#xff0c;Session\u5171\u4eab\u8fd8\u80fd\u7528MySql\u6765\u5b9e\u73b0&#xff0c;\u6d88\u606f\u961f\u5217\u53ef\u4ee5\u7528RabbitMQ&#xff0c;\u6211\u4eec\u4e3a\u4ec0\u4e48\u2014\u5b9a\u8981\u7528Redis\u5462?\u4e3a\u4ec0\u4e48Redis\u660e\u660e\u662f\u8fd0\u7ef4\u7528\u5f97\u591a\u4e3a\u5565\u6211\u4eec\u505a\u5f00\u53d1\u4e5f\u8981\u7cbe\u901a&#xff1f;\u8fd9\u4e24\u4e2a\u95ee\u9898\u60f3\u5fc5\u5f88\u591a\u4eba\u90fd\u4e0d\u80fd\u51c6\u786e\u5730\u56de\u7b54\u51fa\u6765&#xff0c;\u4f46\u5982\u679c\u4f60\u770b\u4e86LZ\u4e0b\u9762\u5c55\u793a\u7684\u8fd9\u4efdGithub\u4e00\u591c\u7206\u706b\u7684Redis\u5165\u95e8\u5230\u7cbe\u901a\u901f\u6210\u7b14\u8bb0\u4e4b\u540e&#xff0c;\u8fd9\u4e9b\u95ee\u9898\u90fd\u4f1a\u8c41\u7136\u5f00\u6717&#xff01;<\/p>\n<p>\u7bc7\u5e45\u9650\u5236\u65e0\u6cd5\u628a\u5168\u90e8\u5185\u5bb9\u90fd\u4e3a\u5927\u5bb6\u5c55\u793a\u51fa\u6765&#xff0c;\u9700\u8981\u5b8c\u6574\u6587\u6863\u7684\u670b\u53cb\u4eec \u70b9\u51fb\u6587\u672b\u5c0f\u5361\u7247 \u5373\u53ef&#xff01;<\/p>\n<h3>Redis\u901f\u6210\u7b14\u8bb0<\/h3>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1129\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112516-6ae9c49ccf47b.png\" width=\"399\" \/><\/p>\n<\/p>\n<\/p>\n<h3>\u6e90\u7801\u7bc7<\/h3>\n<ul>\n<li>\n<p>\u63a2\u7d22\u300c\u5b57\u7b26\u4e32\u300d&#xff0c;\u300c\u5b57\u5178\u300d&#xff0c;\u300c\u538b\u7f29\u5217\u8868\u300d&#xff0c;\u300c\u5feb\u901f\u5217\u8868\u300d&#xff0c;\u300c\u8df3\u8dc3\u5217\u8868\u300d&#xff0c;\u300c\u7d27\u51d1\u5217\u8868\u300d&#xff0c;\u300c\u57fa\u6570\u6811\u300d\u5185\u90e8\u7ed3\u6784<\/p>\n<\/li>\n<\/ul>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"373\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112517-6ae9c49d09389.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"375\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112517-6ae9c49d1dc27.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<h3>\u539f\u7406\u7bc7<\/h3>\n<ul>\n<li>\n<p>\u7ebf\u7a0bIO\u6a21\u578b\u3001\u901a\u4fe1\u534f\u8bae\u3001\u6301\u4e45\u5316\u3001\u7ba1\u9053\u3001\u4e8b\u52a1\u3001PubSub\u3001\u5c0f\u5bf9\u8c61\u538b\u7f29\u3001\u4e3b\u4ece\u540c\u6b65<\/p>\n<\/li>\n<\/ul>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"370\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112517-6ae9c49d34df7.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"384\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112517-6ae9c49d49e1b.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"382\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112517-6ae9c49d5e72c.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<h3>\u5e94\u7528\u7bc7<\/h3>\n<ul>\n<li>\n<p>\u5206\u5e03\u5f0f\u9501\u3001\u5ef6\u65f6\u961f\u5217\u3001\u4f4d\u56fe\u3001\u3001HyperLogLog\u3001\u5e03\u9686\u8fc7\u6ee4\u5668\u3001\u7b80\u5355\u9650\u3001\u6f0f\u6597\u9650\u6d41\u3001GeoHash<\/p>\n<\/li>\n<\/ul>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"368\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112517-6ae9c49d7a984.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"372\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112517-6ae9c49da5087.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"376\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112517-6ae9c49dcd8f9.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<h3>\u96c6\u7fa4\u7bc7<\/h3>\n<ul>\n<li>\n<p>Codis\u3001Cluster\u3001Stream<\/p>\n<\/li>\n<\/ul>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"393\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112518-6ae9c49e0e752.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"363\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112518-6ae9c49e2fab3.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<h3>\u62d3\u5c55\u7bc7<\/h3>\n<ul>\n<li>\n<p>Stream\u3001lnfo \u6307\u4ee4\u3001\u518d\u8c08\u5206\u5e03\u5f0f\u9501\u3001\u8fc7\u671f\u7b56\u7565\u3001LRU\u3001\u61d2\u60f0\u5220\u9664\u3001\u4f18\u96c5\u5730\u4f7f\u7528Jedis\u3001\u4fdd\u62a4Redis\u3001Redis\u5b89\u5168\u901a\u4fe1<\/p>\n<\/li>\n<\/ul>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"369\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112518-6ae9c49e457be.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"369\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112518-6ae9c49e60f65.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<\/p>\n<p class=\"img-center\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"370\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112518-6ae9c49e7b908.png\" width=\"720\" \/><\/p>\n<\/p>\n<\/p>\n<h3>\u6700\u540e<\/h3>\n<p>Redis\u6d89\u53ca\u7684\u77e5\u8bc6\u70b9\u662f\u975e\u5e38\u7e41\u591a\u7684&#xff0c;\u867d\u7136\u8fd9\u4efd\u7b14\u8bb0\u5df2\u7ecf\u6269\u5145\u4e86\u4e0d\u5c11Redis\u8fdb\u9636\u548c\u538b\u7bb1\u5e95\u7684\u5185\u5bb9&#xff0c;\u4f46\u8fd8\u662f\u65e0\u6cd5\u987e\u53ca\u5230Redis \u7684\u65b9\u65b9\u9762\u9762&#xff0c;LZ\u53ea\u80fd\u8bf4\u771f\u7684\u4e0d\u8981\u5c0f\u770b\u4e00\u4e2aRedis&#xff01;\u5982\u679c\u4f60\u60f3\u8981\u6e34\u671b\u8fdb\u4e00\u6b65\u63ed\u5f00Redis\u7684\u795e\u79d8\u9762\u7eb1&#xff0c;\u9700\u8981\u5b8c\u6574\u6587\u6863\u7684\u670b\u53cb\u4eec \u70b9\u51fb\u6587\u672b\u5c0f\u5361\u7247 \u5373\u53ef&#xff01;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content<\/p>\n","protected":false},"author":2,"featured_media":121818,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6947,99,3603,105,707],"topic":[],"class_list":["post-121833","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-java","tag-redis","tag-707"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Redis\u901f\u6210\u7b14\u8bb0\uff0cJava\u5c0f\u767d\u9762\u8bd5\u5fc5\u5237\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/121833.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Redis\u901f\u6210\u7b14\u8bb0\uff0cJava\u5c0f\u767d\u9762\u8bd5\u5fc5\u5237\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/121833.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-03T11:25:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112516-6ae9c49ca3116.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/121833.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/121833.html\",\"name\":\"Redis\u901f\u6210\u7b14\u8bb0\uff0cJava\u5c0f\u767d\u9762\u8bd5\u5fc5\u5237\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-03T11:25:19+00:00\",\"dateModified\":\"2026-11-03T11:25:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/121833.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/121833.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/121833.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Redis\u901f\u6210\u7b14\u8bb0\uff0cJava\u5c0f\u767d\u9762\u8bd5\u5fc5\u5237\uff01\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Redis\u901f\u6210\u7b14\u8bb0\uff0cJava\u5c0f\u767d\u9762\u8bd5\u5fc5\u5237\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/121833.html","og_locale":"zh_CN","og_type":"article","og_title":"Redis\u901f\u6210\u7b14\u8bb0\uff0cJava\u5c0f\u767d\u9762\u8bd5\u5fc5\u5237\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\/* MD \/ \u5bcc\u6587\u672c\u4e2d\u7684 .toc\uff08\u542b\u535a\u5ba2\u56ed\u642c\u5bb6\u7b49\u5d4c\u5957\u7ed3\u6784\uff09\uff1b.toc-box \u5728\u4fa7\u680f\uff0c\u4e0d\u53d7\u5f71\u54cd *\/#content_views .toc,\/* \u7f16\u8f91\u5668\u5e38\u5728\u76ee\u5f55\u524d\u540e\u63d2\u5165\u7a7a p\uff08:empty \u4ecd\u5360 20px\uff09\uff0c\u4e00\u5e76\u53bb\u6389\u907f\u514d\u9876\u7a7a\u9699 *\/#content_views.markdown_views &gt; p:empty:has(+ .toc),#content_views.markdown_views &gt; .toc + p:empty,\/* \u5bcc\u6587\u672c\u65e7\u7248\u76ee\u5f55\u6807\u8bb0 *\/#content","og_url":"https:\/\/www.wsisp.com\/helps\/121833.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-03T11:25:19+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/11\/20261103112516-6ae9c49ca3116.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/121833.html","url":"https:\/\/www.wsisp.com\/helps\/121833.html","name":"Redis\u901f\u6210\u7b14\u8bb0\uff0cJava\u5c0f\u767d\u9762\u8bd5\u5fc5\u5237\uff01 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-03T11:25:19+00:00","dateModified":"2026-11-03T11:25:19+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/121833.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/121833.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/121833.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Redis\u901f\u6210\u7b14\u8bb0\uff0cJava\u5c0f\u767d\u9762\u8bd5\u5fc5\u5237\uff01"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/121833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=121833"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/121833\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/121818"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=121833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=121833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=121833"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=121833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}