java.util.concurrent
Class ConcurrentHashMap<K,V>
java.lang.Object
java.util.AbstractMap<TypeK,TypeV>
org.cliffc.high_scale_lib.NonBlockingHashMap<K,V>
java.util.concurrent.ConcurrentHashMap<K,V>
- Type Parameters:
TypeK
- the type of keys maintained by this mapTypeV
- the type of mapped values
- All Implemented Interfaces:
- Serializable, Cloneable, ConcurrentMap<K,V>, Map<K,V>
public class ConcurrentHashMap<K,V>
- extends NonBlockingHashMap<K,V>
A plug-in replacement for JDK1.5 ConcurrentHashMap
.
This version is based on org.cliffc.high_scale_lib.NonBlockingHashMap
.
This solution should be completely compatible, including the serialized
forms and all multi-threaded ordering guarantees.
- Since:
- 1.5
- Author:
- Cliff Click
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class org.cliffc.high_scale_lib.NonBlockingHashMap |
clear, clone, contains, containsKey, containsValue, elements, entrySet, get, initialize, isEmpty, keys, keySet, print, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, reprobes, size, toString, values |
ConcurrentHashMap
public ConcurrentHashMap()
ConcurrentHashMap
public ConcurrentHashMap(int initialCapacity)
ConcurrentHashMap
public ConcurrentHashMap(int initialCapacity,
float loadFactor,
int concurrencyLevel)
ConcurrentHashMap
public ConcurrentHashMap(Map<? extends K,? extends V> t)
Copyright © 2011. All Rights Reserved.