ConcurrentHashMap achieves it's scalability and thread-safety by partitioning actual map into number of sections. This partitioning is achieved using concurrency level. It's optional parameter of ConcurrentHashMap constructor and it's default value is 16. The table is internally partitioned to try to permit the indicated number of concurrent updates without contention. To learn more about concurrency level and internal resizing
Subscribe to:
Post Comments
(
Atom
)
No Comment to " What is concurrence level of ConcurrentHashMap in Java? "