I have a two files,it has accid,txtype,amount. one person accid may exist in another file, task is to read contents from files and storing that values(accid,txtype,amount),then number of threads will access this file depending on the txtype like withdraw or deposit the processing should be done.If it is withdraw it has to check with other files data and balance.How can we achieve this
Here,my task is to get files data from no. of files and reading it and separate data like accid,txtype,amt and store it in hashMap. I have to synchronize this data in threads I mean many threads will use this data.