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).
A CountDownLatch in Java is a synchronization aid which allows one or more threads to wait until something else happens (or gets completed).