Core concept
CountDownLatch latch = new CountDownLatch(3);
// workers: latch.countDown();
latch.await(); // waits until 3 count downsAdvertisement
How it works
One-shot only. CyclicBarrier for repeatable.
Advertisement
Trade-offs + gotchas
Startup coordination. Waiting for parallel work.