- Mastering Concurrency Programming with Java 8
- Javier Fernández González
- 87字
- 2021-07-16 12:55:02
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
推薦閱讀
- OpenStack Cloud Computing Cookbook(Third Edition)
- Bootstrap Site Blueprints Volume II
- Oracle從新手到高手
- ASP.NET Core 2 and Vue.js
- Visual Basic程序設(shè)計(jì)教程
- Mastering Python High Performance
- Java EE核心技術(shù)與應(yīng)用
- C++從入門到精通(第5版)
- Learning Apache Karaf
- Machine Learning in Java
- UI設(shè)計(jì)全書(全彩)
- PHP編程基礎(chǔ)與實(shí)踐教程
- Django實(shí)戰(zhàn):Python Web典型模塊與項(xiàng)目開發(fā)
- C++從入門到精通(第6版)
- Python程序設(shè)計(jì):基礎(chǔ)與實(shí)踐