Tag archives for ArrayBlockingQueue

Java: BlockingQueue implementation ArrayBlockingQueue (Part3)
After my post concerning presentation of Queue/BlockingQueue, I would continue with a post about the BlockingQueue implementation: java.util.concurrent.ArrayBlockingQueue. This implementation of BlockingQueue stores and keeps the elements internally in a bounded blocking queue backed by an array and in FIFO (First In, First Out) order. This is a classic "bounded buffer", in which a fixed-sized array holds elements inserted by producers ...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.