Code examples for ConcurrentHashMap

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
11:	private ConcurrentMap<SocketAddress, Session> cache = new ConcurrentHashMap<SocketAddress, Session>(); 
Full Snippet Info
10
CodeRank
55:	return new ConcurrentHashMap<>(); 
Full Snippet Info
10
CodeRank
59:	public static final ConcurrentMap<AssertingSearcher, RuntimeException> INFLIGHT_ENGINE_SEARCHERS = new ConcurrentHashMap<>(); 
Full Snippet Info
10
CodeRank
28:	memoryCache = new ConcurrentHashMap<String, SoftReference<Bitmap>>(); 
Full Snippet Info
10
CodeRank
64:	contextData = new ConcurrentHashMap<>(); 
Full Snippet Info
10
CodeRank
25:	private static Map<String, String> headers = new ConcurrentHashMap<String, String>(); 
Full Snippet Info
10
CodeRank
33:	private static final ConcurrentMap<String, Logger> loggers = new ConcurrentHashMap<>(); 
Full Snippet Info
10
CodeRank
10:	private final static Map<Pair<Class<?>, Object>, Provider<?>> providers = new ConcurrentHashMap<Pair<Class<?>, Object>, Provider<?>>(); 
Full Snippet Info
9
CodeRank
121:	urlParams.put(key, value); 
-
292:	urlParams = new ConcurrentHashMap<String, String>(); 
Full Snippet Info
8
CodeRank
36:	private final ConcurrentMap<String, Set<String>> userSessionIds = new ConcurrentHashMap<String, Set<String>>(); 
Full Snippet Info
10
CodeRank
12:	public static ConcurrentHashMap<String, List<Item>> aliases = new ConcurrentHashMap<String, List<Item>>(); 
Full Snippet Info
9
CodeRank
34:	private final Map<String, Object> jndiObjects = new ConcurrentHashMap<String, Object>(); 
Full Snippet Info
10
CodeRank
38:	private final ConcurrentMap<K, V> map = new ConcurrentHashMap<>(); 
Full Snippet Info
10
CodeRank
52:	cache = new ConcurrentHashMap<Class<?>, Class<?>>(); 
Full Snippet Info
9
CodeRank
39:	map = new ConcurrentHashMap<>(); 
Full Snippet Info
10
CodeRank
38:	private final Map<String, D> resolvedDestinationCache = new ConcurrentHashMap<String, D>(); 
Full Snippet Info
10
CodeRank
31:	public static Map apiKey2roleMap = new ConcurrentHashMap(); 
Full Snippet Info
8
CodeRank
39:	private final ConcurrentMap<EventLoop, Handlers<T>> handlerMap = new ConcurrentHashMap<>(); 
Full Snippet Info
10
CodeRank
57:	if (_map.size() >= _maxEntries) { 
-
59:	if (_map.size() >= _maxEntries) { 
-
64:	return _map.putIfAbsent(key, value); 
-
70:	public void clear() { _map.clear(); } 
Full Snippet Info
6
CodeRank
28:	public static ConcurrentHashMap<Integer, ConcurrentHashMap<String, StatisticData>> map = new ConcurrentHashMap<Integer, ConcurrentHashMap<String, StatisticData>>(); 
Full Snippet Info
8
CodeRank