Java Concurrency CountDownLatch

Java Concurrency CountDownLatch
CountDown Latch In this article we will discuss about CountDownLatch . Same is introduced in java 5. CountDownLatch works very same way as Object’s wait() and notify() does ,but it is a Toplevel class And very easy to use than wait/notify.  CountDownLatch...

Java Concurrency Reentrant Lock

Java Concurrency Reentrant Lock
Meet Reentrant Lock In this article, we will discuss about, java 5 inclusion Reentrant Lock. Reentrant Lock someway similar to synchronize block. But it provides much more flexibility than synchronize.   I encourage all my readers to...