Concurrent Collections

In this chapter, we will cover the following topics:

  • Using non-blocking thread-safe deques
  • Using blocking thread-safe deques
  • Using blocking thread-safe queue ordered by priority
  • Using thread-safe lists with delayed elements
  • Using thread-safe navigable maps
  • Using thread-safe HashMaps
  • Using atomic variables
  • Using atomic arrays
  • Using the volatile keyword
  • Using variable handles

Get Java 9 Concurrency Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.