{"id":177234,"date":"2020-10-25T10:19:44","date_gmt":"2020-10-25T02:19:44","guid":{"rendered":"http:\/\/4563.org\/?p=177234"},"modified":"2020-10-25T10:19:44","modified_gmt":"2020-10-25T02:19:44","slug":"%e6%8f%90%e9%97%ae%e5%90%8e%e5%8f%b0%e7%ae%80%e5%8d%95%e8%b0%83%e7%94%a8%e7%ac%ac%e4%b8%89%e6%96%b9-api-%e8%bd%ae%e8%af%a2%e5%ae%9e%e7%8e%b0%e6%96%b9%e5%bc%8f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=177234","title":{"rendered":"\u63d0\u95ee\u540e\u53f0\u7b80\u5355\u8c03\u7528\u7b2c\u4e09\u65b9 api \u8f6e\u8be2\u5b9e\u73b0\u65b9\u5f0f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u63d0\u95ee\u540e\u53f0\u7b80\u5355\u8c03\u7528\u7b2c\u4e09\u65b9 api \u8f6e\u8be2\u5b9e\u73b0\u65b9\u5f0f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rqxiao <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4ea4\u6613\u8bf7\u6c42\u53d1\u8d77\u540e\uff0c\u82e5\u987e\u5ba2\u9700\u8981\u8f93\u5165\u5bc6\u7801\uff0c\u5219\u6b64\u65f6\u7cfb\u7edf\u4f1a\u8fd4\u56de\u4ea4\u6613\u5904\u7406\u4e2d\u7684\u5e94\u7b54\u3002\u9700\u8981\u5546 \u6237\u4e3b\u52a8\u8c03\u7528\u67e5\u8be2\u63a5\u53e3\uff0c\u83b7\u53d6\u4ea4\u6613\u72b6\u6001\u3002\u6839\u636e\u4ea4\u6613\u573a\u666f\u7684\u4e0d\u540c\uff0c\u67e5\u8be2\u7684\u65b9\u5f0f\u6709\u4e0d\u540c\u9009\u62e9\u3002\u5efa\u8bae \u7ebf\u4e0b\u573a\u666f\u4f7f\u7528\u8f6e\u8be2\u7684\u65b9\u5f0f\uff0c\u4f8b\u5982 5s \u4e00\u6b21\uff0c\u67e5\u8be2 50s \u3002<\/p>\n<p>\u8fd9\u5355\u8fd4\u56de\u6210\u529f\u4e86\u5c31\u4e0d\u9700\u8981\u518d\u67e5\u4e86\u3002\u76ee\u524d\u60f3\u6cd5 springboot \u91cc\u5199\u4e00\u4e2a @Scheduled \u5b9a\u65f6\u4efb\u52a1\uff0c\u7b2c\u4e00\u6b21\u5982\u679c\u4e0d\u662f\u6210\u529f\u5c31\u653e\u5728\u4e00\u4e2a map \u91cc\uff08 key \u662f\u8ba2\u5355 id \uff09\uff0c\u67e5\u5230\u6210\u529f\u5c31\u5220\u9664 map \u91cc\u9762\u7684\u8fd9\u4e2a key \uff1f<\/p>\n<p>\u6709\u53ef\u80fd\u540e\u671f\u540c\u65f6\u4e0b\u5355\u7684\u6570\u91cf\u4f1a\u6bd4\u8f83\u591a<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3921365\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wsyw126 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u4e0d\u6210\u529f\u653e\u5728 map\uff0c\u5982\u679c\u5b95\u673a\u4e86\uff0c\u8fd9\u4e9b\u4e0d\u6210\u529f\u7684\u8ba2\u5355 id \u5c31\u4e22\u5931\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3921366\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : coderxy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u653e rabbitmq \u91cc\uff0c\u505a\u4e2a\u5ef6\u65f6\u961f\u5217\u3002 \u6216\u8005\u653e\u5230 redis \u91cc\uff0c \u4f60\u653e\u5185\u5b58\u91cc\u670d\u52a1\u6302\u4e86\u5c31\u6ca1\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3921367\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dzdh <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6d88\u606f\u961f\u5217 release                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3921368\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jrue0011 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u5f15\u5165\u65b0\u7684\u4e2d\u95f4\u4ef6\u7684\u8bdd\uff0c\u4e00\u822c\u5e94\u8be5\u662f\u6570\u636e\u5e93\u6709\u4e2a\u65e5\u5fd7\u8868\uff0c\u7136\u540e\u8d77\u4e2a\u5b9a\u65f6\u4efb\u52a1\u626b\u8868\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3921369\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : fallinlovewith <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jrue0011 Quartz?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3921370\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kanepan19 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7b80\u5355\u5b9e\u73b0: \u4e0b\u5355\u540e \u7528 delayqueue \u6216\u8005 ScheduledExecutorService<br \/>\u5982\u679c\u91cd\u542f\u7684\u8bdd, \u4ece\u6570\u636e\u5e93\u8bfb\u53d6\u672a\u5904\u7406\u7684, \u518d\u4e22\u5165\u5b9a\u65f6\u4efb\u52a1.<\/p>\n<p>\u5f15\u5165\u5176\u4ed6\u7ec4\u4ef6: 2 \u7684 rabbitmq \u5ef6\u65f6\u961f\u5217\u6216\u8005 redis                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3921371\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : w292614191 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u5e94\u8be5\u6709\u4e2a\u72ec\u7acb\u7684\u670d\u52a1\u6765\u4e0d\u65ad\u7684\u67e5\u8be2\u4ea4\u6613\u8868\uff0c\u5b8c\u6210\u7684\u5c31\u66f4\u65b0\u3002\u5176\u4ed6\u4e1a\u52a1\u53ea\u8981\u67e5\u8be2\u5c31\u53ef\u4ee5\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u63d0\u95ee\u540e\u53f0\u7b80\u5355\u8c03\u7528\u7b2c\u4e09\u65b9 api \u8f6e&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/177234"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=177234"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/177234\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=177234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=177234"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=177234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}