ConcurrentHashMap in nutshell

The Java concurrent hash map may be considered as the lodge having many rooms with locking facility.Where as hash map may be considered as the house with one door.So in case of hash map if you are locking the door. Then you will not be able to access if any of the room of house. Before using hash map every thread locks the hash map making it inaccessible to other thread till the time it won’t complete it’s operations.

Hashmap

But if concurrent hash map is viewed it may be viewed as multiple separate rooms of Lodge if any room is locked we can still access the other rooms.

8 thoughts on “ConcurrentHashMap in nutshell”

Pretty section of content. I just stumbled upon your blog and in accession capital to assert that I get in fact enjoyed account your blog posts. Any way I will be subscribing to your feeds and even I achievement you access consistently fast.

Thank you for every other excellent post. Where else could anybody get that type of info in such an ideal approach of writing? I’ve a presentation next week, and I’m on the search for such information.

I simply want to mention I’m all new to blogging and site-building and absolutely savored your web blog. Likely I’m planning to bookmark your blog post . You really have amazing well written articles. Bless you for sharing with us your web page.