static HashMap Issue
Hi , Actually i am fetching data from client after 2 or 3 seconds. i am trying to store all the information in a HashMap. I want this hashmap to be static so i have declared it static so that it can save All the values i recieve. Problem is that it saves only 7 Values and then i think Revised itself. Structure goes like this
1) there is a class in which HashMap is defined and Intialized.
2) i am accessing it in some Other Class like this MyHashMapClass.myHashMap
3) I am setting values like this MyHashMapClass.myHashMap.put("id",strId);
4) Then passing it(static HashMap) to some thread for some Operation after 20 secods. like for 20 seconds it saves 7 values . 7 x 3 case. but next time its size should be 14 right.? but it shows it be 7 always. Your Help is appriciated.
Regards,
Adnan

