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

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
主站蜘蛛池模板: 浦东新区| 远安县| 于田县| 崇文区| 梧州市| 高雄市| 南昌县| 河南省| 新平| 石景山区| 垦利县| 当阳市| 连城县| 济南市| 丰县| 卓资县| 香格里拉县| 清苑县| 富宁县| 阳江市| 闸北区| 乐都县| 聂拉木县| 绵竹市| 铅山县| 达日县| 常熟市| 龙里县| 虹口区| 谢通门县| 垦利县| 临沭县| 无锡市| 平南县| 东乡| 肥东县| 安岳县| 嘉禾县| 乌审旗| 怀宁县| 文登市|