# Java线程池与框架

目录

* [Executor 框架](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/executor-kuang-jia-yu-xian-cheng-chi.md)
* [自定义线程池——ThreadPoolExecutor](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/zi-ding-yi-xian-cheng-chi-2014-2014-threadpoolexecutor.md)
* [线程池工具类（单例模式）](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/xian-cheng-chi-gong-ju-lei.md)
* [关闭线程池](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/guan-bi-xian-cheng-chi.md)
* [合理地配置线程池](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/he-li-di-pei-zhi-xian-cheng-chi.md)
* [线程池的监控](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/xian-cheng-chi-de-jian-kong.md)
* [RejectedExecutionException产生的原因](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/rejectedexecutionexceptionchan-sheng-de-yuan-yin.md)
* [SpringBoot配置线程池工具类](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/springbootpei-zhi-xian-cheng-chi-gong-ju-lei.md)
* [FutureTask详解](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/futruetaskxiang-jie.md)
* [CompletionService讲解](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/completionservicejiang-jie.md)
* [Future、FutureTask、CompletionService、CompletableFuture区别](/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia/futurefuturetaskcompletionservicecompletablefuturequ-bie.md)

文章参考：

<http://www.cnblogs.com/dolphin0520/p/3932921.html>

<http://wiki.jikexueyuan.com/project/java-concurrency/executor.html>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tuonioooo-notebook.gitbook.io/java-concurrent/di-er-zhang-java-xian-cheng-chi-yu-kuang-jia.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
