官术网_书友最值得收藏!

Chapter 2. Managing Lots of Threads – Executors

When you implement a simple concurrent application, you create and execute a thread per concurrent task. This approach can have some important issues. Since Java version 5, the Java concurrency API includes the executor framework to improve the performance of concurrent applications with a lot of concurrent tasks. In this chapter, we will cover the following:

  • An introduction to executors
  • The first example – the k-nearest neighbors algorithm
  • The second example – concurrency in a client/server environment
主站蜘蛛池模板: 彭阳县| 西峡县| 桦甸市| 隆德县| 嵩明县| 微山县| 大新县| 淅川县| 普定县| 杨浦区| 米泉市| 通城县| 中阳县| 康乐县| 永福县| 安吉县| 诏安县| 彭水| 建阳市| 恩施市| 惠来县| 岐山县| 休宁县| 平罗县| 丰都县| 疏勒县| 山东省| 砀山县| 什邡市| 临潭县| 保德县| 丽水市| 伊川县| 雷州市| 梧州市| 商城县| 东台市| 岑溪市| 邹城市| 天气| 阿图什市|