java 并发之(四)并发容器ConcurrentHashMap

来自:http://www.goldendoc.org/2011/06/juc_concurrenthashmap/ ConcurrentHashMap ConcurrentHashMap是一个线程安全的Hash Table,它的主要功能是提供了一组和HashTable功能相同但是线程安全的方法。ConcurrentHashMap可以做到读取数据不加锁,并且其内部的结构可以让其在进行写操作的时候能
相关文章
相关标签/搜索