JAVA 線程池 ThreadPoolExecutor

目錄   一、ThreadPoolExecutor簡介 二、運行原理 三、源碼分析 四、擴展 一、ThreadPoolExecutor簡介 ThreadPoolExecutor是我們在Java中常用的線程池類,當然我們經常用如下方法創建,但是這些方法內部最終還是通過ThreadPoolExecutor構造的。(所以我有時候很不理解,爲什麼一說直接用ThreadPoolExecutor構造線程池,有
相關文章
相關標籤/搜索