CountDownLatch in Java

A CountDownLatch in Java is a synchronization aid which allows one or more threads to wait until something else happens (or gets completed).

May 30, 2022