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

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
主站蜘蛛池模板: 太康县| 建平县| 山东省| 尼勒克县| 海淀区| 道真| 吉木乃县| 闻喜县| 根河市| 商南县| 怀柔区| 重庆市| 洱源县| 定安县| 顺昌县| 富锦市| 黔西县| 广水市| 溧阳市| 堆龙德庆县| 故城县| 芒康县| 如东县| 嘉禾县| 曲松县| 赣州市| 安多县| 呼图壁县| 枝江市| 疏附县| 玉屏| 交城县| 松阳县| 阳春市| 凤山市| 镇康县| 石柱| 荆门市| 固始县| 隆回县| 镶黄旗|