
CountDownLatches are kind of similar to CyclicBarriers, they are constructed with an initial value, and each thread/method can decrease this value to signal its work being done. Others can be notified when the count down reaches zero by using await and then do their work.