I have a data structure HashMap<String, HashMap<String, String>>
Now I need to add tread safety to this data structure, which one should I use?
ConcurrentHashMap<String, HashMap<String, String>>
or
ConcurrentHashMap<String, ConcurrentHashMap<String, String>>
What's the difference between these two?