线程调度
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:<br>11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;<br>mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:<br>minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">int<br>corePoolSize</span><br>
int<br> maximumPoolSize
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:<br>11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;<br>mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:<br>minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">long<br>keepAliveTime</span><br>
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:<br>11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;<br>mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:<br>minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">TimeUnit<br>unit</span>
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:<br>11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;<br>mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:<br>minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">BlockingQueue<Runnable><br>workQueue</span>
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:<br>11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;<br>mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:<br>minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">SynchronousQueue</span>
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:<br>11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;<br>mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:<br>minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">LinkedBlockingQueue</span>
ArrayBlockingQueue
<p class="MsoNormal"><span lang="EN-US">ThreadFactory <br>threadFactory</span></p>
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:
11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:
minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;
mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA"> RejectedExecutionHandler handler</span>
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:<br>11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;<br>mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:<br>minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">CallerRunsPolicy </span>
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:<br>11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;<br>mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:<br>minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">AbortPolicy </span>
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:<br>11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;<br>mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:<br>minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">DiscardPolicy </span>
<span lang="EN-US" style="font-size:10.5pt;mso-bidi-font-size:<br>11.0pt;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;<br>mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-theme-font:<br>minor-latin;mso-bidi-font-family:"Times New Roman";mso-bidi-theme-font:minor-bidi;<br>mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA">DiscardOldestPolicy </span>