© Adam L. Davis 2019
Adam L. DavisReactive Streams in Javahttps://doi.org/10.1007/978-1-4842-4176-9_2

2. Existing Models of Concurrency in Java

Adam L. Davis1 
(1)
Oviedo, FL, USA
 

As multicore processors become more and more standard, different models of concurrent programming have become more popular in Java. Although the core model of concurrency in Java is the Thread, multiple levels of abstraction have been built to enable simpler development.

Each of these models has a different approach toward protecting values from being modified by more than one thread at one time as we will cover in this chapter.

Prominent Models for Concurrency

There are several tried and true models of concurrency in Java and the JVM. Over time, higher level models have been ...

Get Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.