Tanujasri Bhatkal wrote:Which is the most optimal, performance efficient data structure available in java for concurrent read and writes with and without hashing, such that concurrent reads always return concurrent writes?
Welcome Tanujasri.
I'm afraid your question doesn't have any meaning without some context. The fact is that concurrent reads can't
always return concurrent writes
because they're concurrent (unless you have some sort of queuing system that prioritises writes over reads, which seems a bizarre thing to do). The best you can hope for is some guarantee of
consistency; and that, again, will depend very much on context.
As Greg says, some idea of what you've researched would be helpful.
Winston