{"id":1010,"date":"2021-10-03T20:01:39","date_gmt":"2021-10-03T12:01:39","guid":{"rendered":"https:\/\/fireinsect.top\/?p=1010"},"modified":"2021-10-07T22:29:02","modified_gmt":"2021-10-07T14:29:02","slug":"%e5%a4%9a%e7%ba%bf%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/fireinsect.top\/index.php\/2021\/10\/03\/%e5%a4%9a%e7%ba%bf%e7%a8%8b\/","title":{"rendered":"\u591a\u7ebf\u7a0b"},"content":{"rendered":"\n<p>Java\u4e2d\u53ef\u4ee5\u901a\u8fc7\u7ee7\u627f <strong>Thread<\/strong> \u6765\u5b9e\u73b0\u7ebf\u7a0b\u7c7b<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u7ee7\u627f <strong>Thread<\/strong> \u7c7b\u540e\u9700\u8981\u91cd\u5199\u7236\u7c7b <strong>run()<\/strong> \u65b9\u6cd5\uff0c\u4fee\u9970\u7b26\u4e3a <code>public void<\/code> \u65b9\u6cd5\u662f\u6ca1\u6709\u53c2\u6570\u7684\u3002<\/p>\n\n\n\n<div style=\"height:26px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\" style=\"font-size:25px\"> sleep()<\/p>\n\n\n\n<p>\u7ebf\u7a0b\u53ef\u4ee5\u901a\u8fc7sleep\u65b9\u6cd5\u6765\u8ba9\u7ebf\u7a0b\u7761\u7720\uff0c\u6682\u65f6\u4e0d\u518d\u7ee7\u7eed\u6267\u884c\u3002\u540e\u9762\u6dfb\u52a0\u53c2\u6570\u8868\u793a\u7761\u7720\u591a\u957f\u65f6\u95f4\uff0c\u6bd4\u5982200\u4e3a200\u6beb\u79d2\u3002<\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-medium-font-size\">\u7ebf\u7a0b\u7684\u542f\u52a8<\/p>\n\n\n\n<p>\u7ebf\u7a0b\u7684\u542f\u52a8\u9700\u8981\u5148\u6267\u884c <strong>start()<\/strong> \u65b9\u6cd5\uff0c\u5982\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"java\" class=\"language-java\">Person thread2 = <strong>new<\/strong> Person();\n        thread2.setName(\"\u674e\u56db\");\n        thread2.start();<\/code><\/pre>\n\n\n\n<p>\u5176\u4e2d run() \u65b9\u6cd5\u662f\u7cfb\u7edf\u6267\u884c\u4e86 start() \u65b9\u6cd5\u540e\u81ea\u52a8\u6267\u884c\u7684\u3002<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u4f46\u7531\u4e8eJava\u662f\u5355\u7ee7\u627f\u7684\uff0c\u5f53\u7c7b\u7ee7\u627f\u4e86 <strong>Thread<\/strong> \u7c7b\u540e\u5c31\u65e0\u6cd5\u7ee7\u627f\u5176\u4ed6\u7c7b\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u7a0b\u5e8f\u7684\u53ef\u62d3\u5c55\u6027\u5927\u5927\u964d\u4f4e\u3002<\/p>\n\n\n\n<p>\u56e0\u6b64\u6211\u4eec\u91c7\u7528\u5b9e\u73b0 <strong>Runnable<\/strong> \u63a5\u53e3\u7684\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p>\u5b9e\u73b0\u4e86Runnable\u63a5\u53e3\u7684\u7ebf\u7a0b\u7c7b\uff0c\u8fd8\u9700\u8981\u5305\u88c5\u5728 Thread \u7c7b\u7684\u5b9e\u4f8b\u4e2d\u8fd0\u884c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"java\" class=\"language-java\"><strong>public<\/strong> <strong>static<\/strong> <strong>void<\/strong> <strong>main<\/strong>(String[] args) {\n        Person person1 = <strong>new<\/strong> Person();\n        person1.setName(\"\u5f20\u4e09\");\n        Thread thread1 = <strong>new<\/strong> Thread(person1);\n\n        Person person2 = <strong>new<\/strong> Person();\n        person2.setName(\"\u674e\u56db\");\n        Thread thread2 = <strong>new<\/strong> Thread(person2);\n\n        thread1.start();\n        thread2.start();\n    }<\/code><\/pre>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\" style=\"font-size:25px\">Thread.currentThread()\u53ef\u4ee5\u8fd4\u56de\u5f53\u524d\u6b63\u5728\u8fd0\u884c\u7684\u7ebf\u7a0b\u7684\u5b9e\u4f8b\u5bf9\u8c61<\/p>\n\n\n\n<div style=\"height:11px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-large-font-size\">\u7ebf\u7a0b\u5b89\u5168<\/p>\n\n\n\n<p>\u591a\u7ebf\u7a0b\u64cd\u4f5c\u540c\u4e00\u4e2a\u8d44\u6e90\u65f6\uff0c\u53d1\u751f\u4e86\u51b2\u7a81\u7684\u73b0\u8c61\uff0c\u5c31\u53eb\u505a\u7ebf\u7a0b\u4e0d\u5b89\u5168\u3002\u5982\u6253\u5370\u67d0\u6570\u503c\u7684\u4f59\u91cf\uff0c\u56e0\u4e3a\u662f\u591a\u7ebf\u7a0b\uff0c\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6253\u5370\u7684\u6570\u5b57\u7684\u4f4d\u7f6e\u9519\u4e71\u3002<\/p>\n\n\n\n<p>\u53ef\u4ee5\u4f7f\u7528 <strong>synchronized<\/strong> \u5173\u952e\u8bcd\u6765\u89e3\u51b3\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"java\" class=\"language-java\"> <strong>public<\/strong> <strong>synchronized<\/strong> <strong>void<\/strong> <strong>sell<\/strong>() {\n        count--;\n        System.out.println(Thread.currentThread().getName() + \"\uff1a\u5356\u51fa\u4e00\u5f20\uff0c\u8fd8\u5269\u4e0b \" + count + \" \u5f20\u7968\");\n    }<\/code><\/pre>\n\n\n\n<p><strong>synchronized<\/strong> \u53eb\u505a\u7ebf\u7a0b\u540c\u6b65\u9501\uff0c\u5373\u8868\u793a\u6b64\u65b9\u6cd5\uff0c\u540c\u4e00\u65f6\u523b\u53ea\u80fd\u7531\u4e00\u4e2a\u7ebf\u7a0b\u6267\u884c\u3002\u76f8\u5f53\u4e8e\u4fdd\u62a4\u4e86\u5173\u952e\u65b9\u6cd5\uff0c\u4e0d\u5141\u8bb8\u540c\u65f6\u6267\u884c\uff0c\u5fc5\u987b\u4e00\u4e2a\u4e2a\u6267\u884c\u3002<\/p>\n\n\n\n<div style=\"height:8px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u540c\u65f6\u5f53\u5982\u6570\u503c\u4f59\u91cf\u4e3a1\u65f6\uff0c\u56db\u4e2a\u7ebf\u7a0b\u53ef\u80fd\u6b63\u540c\u65f6\u8fdb\u884c\uff0c\u6b64\u65f6\u4f59\u91cf\u53ef\u80fd\u51fa\u73b0\u8d1f\u6570\u7684\u60c5\u51b5\uff0c\u6240\u4ee5\u5fc5\u987b\u5728\u65b9\u6cd5\u5185\u6dfb\u52a0\u5224\u65ad\u6761\u4ef6<\/p>\n\n\n\n<p>\u4f7f\u7528 <code>synchronized<\/code>\u00a0\u7684\u65b9\u6cd5\u610f\u5473\u7740\u6ee1\u8db3\u4e86\u4e24\u4e2a\u7ebf\u7a0b\u5b89\u5168\u7684\u7279\u6027\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>\u539f\u5b50\u6027<\/strong>\uff1a\u65b9\u6cd5\u5168\u90e8\u6267\u884c\u5e76\u4e14\u6267\u884c\u7684\u8fc7\u7a0b\u4e0d\u4f1a\u88ab\u4efb\u4f55\u56e0\u7d20\u6253\u65ad\u3002<\/li><li><strong>\u53ef\u89c1\u6027<\/strong>\uff1a\u5f53\u591a\u4e2a\u7ebf\u7a0b\u8bbf\u95ee\u540c\u4e00\u4e2a\u53d8\u91cf\u65f6\uff0c\u4e00\u4e2a\u7ebf\u7a0b\u4fee\u6539\u4e86\u8fd9\u4e2a\u53d8\u91cf\u7684\u503c\uff0c\u5176\u4ed6\u7ebf\u7a0b\u80fd\u591f\u7acb\u5373\u770b\u5f97\u5230\u4fee\u6539\u7684\u503c\u3002<\/li><\/ol>\n\n\n\n<p>\u4f46\u662f&nbsp;<code>synchronized<\/code>&nbsp;\u4e3a\u4e86\u5b9e\u73b0\u8fd9\u4e24\u4e2a\u7279\u6027\uff0c\u4e5f\u662f\u8981\u4ed8\u51fa\u4ee3\u4ef7\u662f\u7684\uff1a\u6027\u80fd\u53ef\u80fd\u4e0d\u9ad8\u3002\u56e0\u4e3a\u65b9\u6cd5\u52a0\u9501\uff0c\u540c\u65f6\u53ea\u6709\u4e00\u4e2a\u7ebf\u7a0b\u7ade\u4e89\u6210\u529f\u80fd\u7ee7\u7eed\u6267\u884c\uff0c\u5176\u5b83\u5f88\u591a\u7ebf\u7a0b\u662f\u6301\u7eed\u7b49\u5f85\u3001\u54cd\u5e94\u6162\u7684\u3002\u6240\u4ee5&nbsp;<code>synchronized<\/code>&nbsp;\u4e0d\u80fd\u6ee5\u7528\uff0c\u6bd4\u8f83\u9002\u5408\u7684\u573a\u666f\u662f\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>\u5199\u64cd\u4f5c\u7684\u573a\u666f\u3002\u4f8b\u5982\u7528\u6237\u4fee\u6539\u4e2a\u4eba\u4fe1\u606f\u3001\u70b9\u8d5e\u3001\u6536\u85cf\u3001\u4e0b\u5355\u7b49\u3002<\/li><li>\u5c3d\u91cf\u7cbe\u786e\u9501\u4f4f\u6700\u5c0f\u7684\u4ee3\u7801\u5757\uff0c\u628a\u6700\u5173\u952e\u7684\u5199\u64cd\u4f5c\u62bd\u8c61\u6210\u72ec\u7acb\u7684\u65b9\u6cd5\u52a0\u9501\u3002\u4e0d\u5efa\u8bae\u7ed9\u5927\u6bb5\u7684\u65b9\u6cd5\u52a0\u9501\u3002<\/li><\/ol>\n\n\n\n<div style=\"height:45px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-large-font-size\">\u4e50\u89c2\u9501\u548c\u60b2\u89c2\u9501<\/p>\n\n\n\n<p> <strong>synchronized<\/strong> \u4e5f\u5b58\u5728\u7740\u95ee\u9898\uff0c\u7531\u4e8e\u540c\u4e00\u65f6\u95f4\u53ea\u80fd\u7531\u4e00\u4e2a\u7ebf\u7a0b\u6267\u884c\uff0c\u4ece\u800c\u5bfc\u81f4\u7ebf\u7a0b\u7b49\u5f85\uff0c\u5f15\u53d1\u6027\u80fd\u95ee\u9898\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528java.util.concurrent.atomic.AtomicInteger \u6765\u5b8c\u6210<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"java\" class=\"language-java\"><strong>public<\/strong> <strong>class<\/strong> <strong>Ticket<\/strong> {\n    <strong>private<\/strong> AtomicInteger count = <strong>new<\/strong> AtomicInteger(30);\n\n    <strong>public<\/strong> <strong>void<\/strong> <strong>sell<\/strong>() {\n        <strong>int<\/strong> newCount = 0;\n        <strong>if<\/strong> (count.get() &gt; 0) {\n            newCount = count.decrementAndGet();\n        }\n        System.out.println(Thread.currentThread().getName() + \"\uff1a\u8fd8\u5269\u4e0b \" + newCount + \" \u5f20\u7968\");\n    }\n\n    <strong>public<\/strong> <strong>int<\/strong> <strong>getCount<\/strong>() {\n        <strong>return<\/strong> count.get();\n    }\n}<\/code><\/pre>\n\n\n\n<p><code>AtomicInteger<\/code>\u00a0\u867d\u7136\u662f\u4e00\u4e2a\u7c7b\uff0c\u4f46\u7b49\u540c\u4e8e\u4e00\u4e2a\u6574\u6570\uff08\u5c31\u50cf Integer \u662f int \u7684\u5bf9\u8c61\uff09\u3002\u8c03\u7528\u00a0<code>new AtomicInteger()<\/code>\u00a0\u6784\u9020\u51fd\u6570\u5b9e\u4f8b\u5316\u5bf9\u8c61\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u6307\u5b9a\u4efb\u610f\u7684\u6574\u6570\u503c\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>new AtomicInteger(30) \u610f\u601d\u662f\u8bbe\u5b9a\u5b9e\u4f8b\u7684\u6574\u6570\u503c\u4e3a 30<\/p><\/blockquote>\n\n\n\n<p>\u4e0d\u540c\u7684\u662f\uff0c<code>AtomicInteger<\/code>\u00a0\u63d0\u4f9b\u4e86\u4e0d\u4f7f\u7528\u00a0<code>synchronized<\/code>\u00a0\u5c31\u80fd\u4fdd\u8bc1\u6570\u636e\u64cd\u4f5c\u539f\u5b50\u6027\u7684\u65b9\u6cd5\u3002\u4f8b\u5982\u00a0<code>decrementAndGet()<\/code>\u65b9\u6cd5\u3002<\/p>\n\n\n\n<p> <code>decrementAndGet()<\/code> \u65b9\u6cd5\u662f\u53d6\u5f97\u5f53\u524d\u503c->\u51cf\u4e00->return \u65b0\u503c\uff1b\u4e09\u4e2a\u65b9\u6cd5\u7684\u603b\u548c\uff0c\u4e14\u5728\u591a\u7ebf\u7a0b\u60c5\u51b5\u4e0b\u4e5f\u4e0d\u4f1a\u51fa\u73b0\u6570\u503c\u91cd\u590d\u7684\u9519\u8bef\u3002<\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-medium-font-size\">\u8fd9\u5c31\u8bc1\u660e\u4e86\u8fd9\u4e09\u4e2a\u64cd\u4f5c\u662f\u5bc6\u4e0d\u53ef\u5206\u7684\u3001\u7ebf\u7a0b\u95f4\u6ca1\u6709\u76f8\u4e92\u5e72\u6270\u6253\u65ad\uff0c\u4fdd\u8bc1\u4e86\u6570\u636e\u7684\u6b63\u786e\u6027\uff0c\u8fd9\u5c31\u662f\u7c7b\u540d &#8212;<strong>Atomic<\/strong>&#8211;\u539f\u5b50\u6027\u7684\u542b\u4e49<\/p>\n\n\n\n<p>\u4f46\u5982\u679c\u4ec5\u4ec5\u662f\u8fd9\u6837\uff0c\u4f9d\u7136\u4e0d\u80fd\u89e3\u51b3\u51fa\u73b0\u8d1f\u6570\u7684\u60c5\u51b5\uff0c\u800c\u4e14\u7531\u4e8e\u6b64\u65f6\u5728 sell() \u65b9\u6cd5\u4e2d\u7684\u6253\u5370\u3001\u5224\u65ad\u7b49\u8bed\u53e5\u5e76\u4e0d\u5177\u5907\u539f\u5b50\u6027\uff0c\u8f93\u51fa\u7ed3\u679c\u4e5f\u53ef\u80fd\u4e71\u5e8f\uff0c\u6240\u4ee5\uff0c\u6211\u4eec\u9700\u8981\u5728 sell() \u65b9\u6cd5\u4e0a\u6574\u4f53\u52a0\u4e0a\u3002<\/p>\n\n\n\n<p>\u540c\u7406 <code>decrementAndGet()<\/code> \u5b58\u5728<code>incrementAndGet()<\/code> \u8868\u793a\u52a0\u4e00\u7684\u64cd\u4f5c<\/p>\n\n\n\n<p> <code>AtomicInteger<\/code> \u4e0d\u5b58\u5728\u4e0a\u9501\uff0c\u8fd9\u5c31\u610f\u5473\u7740\u9012\u589e\u3001\u9012\u51cf\u65b9\u6cd5\u867d\u7136\u662f\u591a\u4e2a\u6b65\u9aa4\uff0c\u4f46\u591a\u7ebf\u7a0b\u4e0b\u5176\u4ed6\u7ebf\u7a0b\u4e0d\u4f1a\u7b49\u5f85\uff0c\u53ea\u662f\u5728\u6570\u636e\u53d8\u5316\u65f6\u5224\u65ad\u4e00\u4e0b\u662f\u5426\u6709\u5176\u4ed6\u7ebf\u7a0b\u4fee\u6539\u4e86\u6570\u636e\uff0c\u5982\u679c\u6709\u5c31\u6839\u636e\u6700\u65b0\u7684\u503c\u8fdb\u884c\u4fee\u6539\u3002<\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-medium-font-size\"><strong><em>\u8fd9\u5c31\u662f\u4e50\u89c2\u9501<\/em><\/strong><\/p>\n\n\n\n<div style=\"height:27px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u4e50\u89c2\u9501\u5176\u5b9e\u662f\u4e0d\u4e0a\u9501\uff0c\u603b\u662f\u57fa\u4e8e\u6700\u65b0\u7684\u6570\u636e\u8fdb\u884c\u66f4\u65b0\uff0c\u7531\u4e8e\u6ca1\u6709\u4e0a\u9501\uff0c\u5c31\u63d0\u9ad8\u4e86\u6027\u80fd\u3002<\/p>\n\n\n\n<p>\u76f8\u5bf9\u7684\uff0c<\/p>\n\n\n\n<p><code>synchronized<\/code>&nbsp;\u5173\u952e\u5b57\u662f\u628a\u6574\u4e2a\u65b9\u6cd5\u6267\u884c\u524d\u5c31\u4e0a\u9501\uff0c<em><strong>\u5047\u8bbe<\/strong><\/em>&nbsp;\u5176\u4ed6\u7ebf\u7a0b&nbsp;<em><strong>\u4e00\u5b9a\u4f1a\u4fee\u6539<\/strong><\/em>&nbsp;\u6570\u636e\uff0c\u6240\u4ee5\u63d0\u524d\u9632\u8303\u3002\u4e0a\u9501\u7684\u601d\u60f3\u662f\u60b2\u89c2\u7684\uff0c\u6240\u4ee5\u79f0\u4e4b\u4e3a\u60b2\u89c2\u9501\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\u4e50\u89c2\u9501\u548c\u60b2\u89c2\u9501\u662f\u9762\u8bd5\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u6982\u7387\u5f88\u9ad8\u7684\u77e5\u8bc6\u70b9\u54e6\u3002<\/p><\/blockquote>\n\n\n\n<p>\u5bf9\u6bd4\u53ef\u4ee5\u603b\u7ed3\u51fa\u4e8c\u8005\u7684\u533a\u522b\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u4e50\u89c2\u9501\">\u4e50\u89c2\u9501<\/h3>\n\n\n\n<p>\u4e0d\u9002\u7528\u4e8e\u591a\u6761\u6570\u636e\u9700\u8981\u4fee\u6539\u3001\u4ee5\u53ca\u591a\u4e2a\u64cd\u4f5c\u7684\u6574\u4f53\u987a\u5e8f\u8981\u6c42\u5f88\u4e25\u683c\u7684\u573a\u666f\uff0c\u4e50\u89c2\u9501\u9002\u7528\u4e8e\u8bfb\u6570\u636e\u6bd4\u91cd\u66f4\u5927\u7684\u5e94\u7528\u573a\u666f\uff1b\u53cd\u4e4b\uff0c<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"\u60b2\u89c2\u9501\">\u60b2\u89c2\u9501<\/h3>\n\n\n\n<p>\u9002\u5408\u5199\u6570\u636e\u6bd4\u91cd\u66f4\u5927\u7684\u5e94\u7528\u573a\u666f\u3002\u4e00\u822c\u6765\u8bf4\u5199\u6570\u636e\u7684\u6574\u4f53\u6d88\u8017\u65f6\u95f4\u66f4\u957f\u4e9b\uff0c\u662f\u53ef\u4ee5\u63a5\u53d7\u7684\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u4e00\u79cd\u601d\u60f3\">\u4e00\u79cd\u601d\u60f3<\/h2>\n\n\n\n<p>\u4e50\u89c2\u9501\/\u60b2\u89c2\u9501\u5b9e\u9645\u4e0a\u662f\u4e00\u79cd<strong>\u601d\u60f3<\/strong>\uff0c\u4e0d\u662f&nbsp;<em>Java<\/em>&nbsp;\u9886\u57df\u7279\u6709\u7684\u6982\u5ff5\u3002\u5728\u5176\u5b83\u9886\u57df\uff0c\u4f8b\u5982\u6570\u636e\u5e93\u7cfb\u7edf\u4e2d\u4e5f\u6709\u4e50\u89c2\u9501\/\u60b2\u89c2\u9501\u7684\u6982\u5ff5\uff0c\u8fd9\u91cc\u5c31\u4e0d\u8d58\u8ff0\u4e86\u3002<\/p>\n\n\n\n<p>\u5927\u5bb6\u7ecf\u8fc7\u601d\u8003\u548c\u603b\u7ed3\uff0c\u9886\u4f1a\u4e86\u00a0<em>Java<\/em>\u00a0\u4e2d\u7684\u4e50\u89c2\u9501\/\u60b2\u89c2\u9501\uff0c\u90a3\u4e48\u5bf9\u5176\u5b83\u9886\u57df\u7684\u4e50\u89c2\u9501\/\u60b2\u89c2\u9501\uff0c\u662f\u4e00\u901a\u767e\u901a\u7684\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java\u4e2d\u53ef\u4ee5\u901a\u8fc7\u7ee7\u627f Thread \u6765\u5b9e\u73b0\u7ebf\u7a0b\u7c7b<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-1010","post","type-post","status-publish","format-standard","hentry","category-6"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/posts\/1010"}],"collection":[{"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/comments?post=1010"}],"version-history":[{"count":5,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/posts\/1010\/revisions"}],"predecessor-version":[{"id":1033,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/posts\/1010\/revisions\/1033"}],"wp:attachment":[{"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/media?parent=1010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/categories?post=1010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fireinsect.top\/index.php\/wp-json\/wp\/v2\/tags?post=1010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}