[concurrency-interest] Concurrent Queue implementation

Joe Bowbeer joe.bowbeer at gmail.com
Wed Jun 10 12:29:20 EDT 2009


On Wed, Jun 10, 2009 at 9:00 AM, Vishal Byakod wrote:

> Hi,
> I am working on prototyping an embedded Message server and wanted to
> know which queue implementation would suit the best.
> The requirement is for a in-memory queue which will allow concurrent
> puts and gets from the queue.
>
> Any ideas and suggestions would be appreciated.
>
> Thanks
> Vishal


Check out the BlockingQueue implementations, such as ArrayBlockingQueue and
LinkedBlockingQueue:

http://java.sun.com/javase/6/docs/api/java/util/concurrent/BlockingQueue.html

Note that take = get.

Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20090610/e5cc5806/attachment.html>


More information about the Concurrency-interest mailing list