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

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
主站蜘蛛池模板: 临城县| 宝清县| 古浪县| 仙游县| 江山市| 民和| 涿州市| 玛曲县| 庆阳市| 修文县| 康乐县| 大姚县| 卫辉市| 东乡族自治县| 高台县| 璧山县| 台湾省| 绿春县| 光山县| 静安区| 黔西| 纳雍县| 阳东县| 高青县| 澄迈县| 望江县| 新源县| 郧西县| 临夏市| 贵溪市| 聂拉木县| 凌源市| 图们市| 乐都县| 洪江市| 偏关县| 报价| 孝感市| 西峡县| 贵州省| 花垣县|