How to use ConcurrentMap interface and ConcurrentHashMap class.