I need to store some values category wise in key-value pair in cache,for eg: category1 = {(k1,v1),(k2,v2)} category1 = {(k3,v3),(k4,v4)}
which can be accessed concurrently. I am looking like partitioning the concurrent HashMap, but dont know exactly what data structure to use. Any idea?, Thanks