EPAM Systems interview question

Difference between CountDownLatch and CyclicBarrier in java?