concept java.util.concurrent in category java

appears as: java.util.concurrent, The java.util.concurrent, java.util.concurrent
The Well-Grounded Java Developer

This is an excerpt from Manning's book The Well-Grounded Java Developer.

Future style is a term used by those who designed the NIO.2 APIs—it indicates the use of the java.util.concurrent.Future interface. You’ll typically want a Future style of asynchronous processing if you want your main thread of control to initiate the I/O and then poll for the results of that I/O.

In this chapter, we’ll begin with basic concepts and a whistle-stop tour of block-structured concurrency. This was the only game in town prior to Java 5, and it’s still worth understanding. Next, we’ll cover what every working developer should know about java.util.concurrent and how to use the basic concurrency building blocks it provides.

We’ll conclude this section by looking at an example of a multithreaded system, and illustrate how java.util.concurrent is a very natural way to write code.