Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

What is CountDownLatch in Java - Concurrency Example Tutorial

What Is CountDownLatch In Java - Concurrency Example Tutorial
What is Countdownlatch in Java
CountDownLatch in Java is a kind of synchronizer which allows one Thread to wait for one or more Threads before starts processing. This is a very crucial requirement and often needed in server-side core Java applications and having this functionality built-in as CountDownLatch greatly simplifies the development. CountDownLatch in Java is introduced on Java 5 along with other concurrent utilities like CyclicBarrier, Semaphore, ConcurrentHashMap, and BlockingQueue in java.util.concurrent package. 


This post first appeared on Javarevisited: Blog About Java Programmin, please read the originial post: here

Share the post

What is CountDownLatch in Java - Concurrency Example Tutorial

×

Subscribe to Javarevisited: Blog About Java Programmin

Get updates delivered right to your inbox!

Thank you for your subscription

×