Tag archives for LinkedBlockingQueue

Java: BlockingQueue implementation LinkedBlockingQueue (Part2)
After my post concerning presentation of Queue/BlockingQueue, I would continue with a post about the BlockingQueue implementation: java.util.concurrent.LinkedBlockingQueue. This implementation of BlockingQueue stores and keeps the elements internally in a optionally-bounded linked structure (linked nodes) and in FIFO (First In, First Out) order. We will illustrate our writing by the example of pool/queue containing ‘no thread-safe’ business objects MyNoTheadSafeTask which will ...more»
Java: We have said Queue/BlockingQueue?! (Part1)
After my post concerning Multi tasks, Multi threading, Synchronization, Semaphore, Mutex, Barrier, I would continue with a post about the presentation of java.util.Queue and java.util.concurrent.BlockingQueue. First, what is a Queue? In computer science, a queue is simply a collection that order elements in a FIFO (First-In-First-Out) manner, ie that the elements are always added to the end and taken from the beginning. However, there ...more»
Copyright ® 2012 Hüseyin Özveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.