• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is there a BlockingMap?

 
sarvesh meens
Ranch Hand
Posts: 43
Firefox Browser Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

Wouldn't it be a good idea to have a BlockingMap similar to BlockingQueue.

Our application has the following logic:



Couldn't find any implementation that meets this requirement.
Obviously,it has to be concurrent as well.
Queue will not be useful here because,I have to wait for a particular key and not for any available key.

Do you know any container that meets the above requirments?
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you got your answer here
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please BeForthrightWhenCrossPostingToOtherSites. It's the polite thing to do.
 
sarvesh meens
Ranch Hand
Posts: 43
Firefox Browser Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got the BlockingQueue I was looking for @ forums.sun.com.
Worked a lil on the same.
The improvised BlockingQueue is available here

Ulf,thanks a lot for the point on forum etiquette.

[ August 12, 2008: Message edited by: sarvesh meens ]
[ August 12, 2008: Message edited by: sarvesh meens ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!