Excerpt from: www.uml-diagrams.org
Here we provide several UML class diagrams for the Java™7 java.util.concurrent package. Several java.util.concurrent.* packages introduced with version 5.0 of the Java platform added high-level concurrency feat Ures to the Java and new concurrent data structures to the Java collections Framework.
UML class diagram for the java™7 executors and thread pool managers from the Java.util.concurrent package.
executors Define a high-level API for launching and managing threads to support large-scale applications mostly B Y adding thread pool management abilities. The Java.util.concurrent package includes several thread pool management implementation classes.
UML class diagram for concurrent collections in the Java 7 java.util.concurrent package.
Concurrent Collections is also part of the Java.util.concurrent package. These collections reduce the need for synchronization and designed to support concurrent access and modifications of the L Arge collections of data.
UML class diagram for asynchronous results (futures) from the Java 7 java.util.concurrent package.
The future<v> interface represents the result of an asynchronous computation, where type V is the result Ty PE returned by the future S get method. Methods of this interface allow-to-wait for the computation-complete, to-Cancel execution of the task, to check if the Computation is a complete or be cancelled, and to retrieve the result of the computation.
The Delayed interface allows to mark objects that should is acted upon after a given delay. Scheduledfuture<v> interface extends both future<v> and Delayed, and is usually a result of scheduling a task With a scheduledexecutorservice.
The Futuretask class is a implementation of future that implements Java.lang. Runnable as required by Runnablefeature interface, and thus is executed by a Executor.
Java concurrency-java.util.concurrent API Class Diagram