Monday 16 January 2017

What is CountDownLatch ?

CountDownLatch is initialized with a given count. This count is decremented by calls to the countDown() method. Threads waiting for this count to reach zero can call one of the await() methods. Calling await() blocks the thread until the count reaches zero.

No comments:

Post a Comment