Documentation

The Java™ Tutorials
Hide TOC
High Level Concurrency Objects高级并发对象
Trail: Essential Java Classes
Lesson: Concurrency

High Level Concurrency Objects高级并发对象

So far, this lesson has focused on the low-level APIs that have been part of the Java platform from the very beginning. 到目前为止,本课程的重点是从一开始就属于Java平台的低级API。These APIs are adequate for very basic tasks, but higher-level building blocks are needed for more advanced tasks. 这些API适用于非常基本的任务,但更高级的任务需要更高级的构建块。This is especially true for massively concurrent applications that fully exploit today's multiprocessor and multi-core systems.这对于充分利用当今多处理器和多核系统的大规模并发应用程序尤其如此。

In this section we'll look at some of the high-level concurrency features introduced with version 5.0 of the Java platform. 在本节中,我们将介绍Java平台5.0版引入的一些高级并发特性。Most of these features are implemented in the new java.util.concurrent packages. 这些特性中的大多数是在新的java.util.concurrent包中实现的。There are also new concurrent data structures in the Java Collections Framework.Java集合框架中还有新的并发数据结构。


Previous page: A Strategy for Defining Immutable Objects
Next page: Lock Objects