Skip navigation links

Package java9.util.concurrent

Some of the Java 8 and Java 9 utility classes commonly used in concurrent programming.

See: Description

Package java9.util.concurrent Description

Some of the Java 8 and Java 9 utility classes commonly used in concurrent programming. Covers a backport of the upgraded (JEP 266) Java 9 CompletableFuture API for Java 8. In addition, it includes a Java 8 version of the new Java 9 (JEP 266) reactive-streams Flow and SubmissionPublisher API for Java 8. See JEP 266: More Concurrency Updates.

Memory Consistency Properties

Chapter 17 of The Java™ Language Specification defines the happens-before relation on memory operations such as reads and writes of shared variables. The results of a write by one thread are guaranteed to be visible to a read by another thread only if the write operation happens-before the read operation. The synchronized and volatile constructs, as well as the Thread.start() and Thread.join() methods, can form happens-before relationships. In particular:
Since:
9
Skip navigation links

Copyright © 2021. All rights reserved.