Thread concurrency in java

1-CountDownLatch- it was added to the Java 5 concurrency package.

It allows one or more threads to wait until a set of operations being performed in other threads are completed

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sanjay Singh

Sanjay Singh

Java||Spring-Boot|| Micro services Application developer|| INDIA