[concurrency-interest] Bounded PriorityBlockingQueue

Gustav Åkesson gustav.r.akesson at gmail.com
Wed Jun 26 14:23:10 EDT 2013


Hi,

I had a use case for a bounded priority blocking queue in a large-scale
server but couldn't find any useful implementation. Below is my
implementation:

https://github.com/gakesson/ConcurrencyUtils/blob/c5794c5b7c0ada763549cadfbbbd345713ace79a/BoundedPriorityBlockingQueue.java

Feel free to have a look at it, test it and come up with feedback and
improvements. Also, if you have had the same requirements as I, feel free
to use it but don't forget to contribute if/when you find improvements. :-)


Best Regards,

Gustav Åkesson
Cogitel AB
Sweden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20130626/c61bc82d/attachment.html>


More information about the Concurrency-interest mailing list