O'Reilly logo

Java 9 Concurrency Cookbook - Second Edition by Javier Fernández González

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required