Java Concurrent API
Java 5 added a new Java package to the Java platform, the
java.util.concurrent package. It contains a set of classes that makes it easier to develop concurrent applications in Java.
java.util.concurrent has two subpackage:
This package provide alternate ways of doing synchronization and interthread communication. It provides below features:
Synchronizers: The synchronizer classes defined by
This package provide classes that can be used to update the value in a concurrent environment. For example AtomicInteger.
It has interfaces and classes providing a framework for locking. Interfaces are:
Condition, Lock and