DOC

uk.co.boundedbuffer : low-latency-primitive-concurrent-queues

Maven & Gradle

Feb 24, 2014
67 stars

Low Latency Primitive Concurrent Queues · An low latency, lock free, primitive bounded blocking queue backed by an int[]. This class mimics the interface of {@linkplain java.util.concurrent.BlockingQueue BlockingQueue}, however works with primitive ints rather than objects, so is unable to actually implement the BlockingQueue. This class takes advantage of the Unsafe.putOrderedObject, which allows us to create non-blocking code with guaranteed writes. These writes will not be re-orderd by instruction reordering. Under the covers it uses the faster store-store barrier, rather than the the slower store-load barrier, which is used when doing a volatile write. One of the trade off with this improved performance is we are limited to a single producer, single consumer.

Table Of Contents

Latest Version

Download uk.co.boundedbuffer : low-latency-primitive-concurrent-queues Javadoc & API Documentation - Latest Versions:

All Versions

Download uk.co.boundedbuffer : low-latency-primitive-concurrent-queues Javadoc & API Documentation - All Versions:

Version Size Javadoc Updated
1.0.x

How to open Javadoc JAR file in web browser

  1. Rename the file low-latency-primitive-concurrent-queues-1.0.0-javadoc.jar to low-latency-primitive-concurrent-queues-1.0.0-javadoc.zip
  2. Use your favourite unzip tool (WinRAR / WinZIP) to extract it, now you have a folder low-latency-primitive-concurrent-queues-1.0.0-javadoc
  3. Double click index.html will open the index page on your default web browser.

How to generate Javadoc from a source JAR?

Running the command javadoc:

javadoc --ignore-source-errors -encoding UTF-8 -sourcepath "low-latency-primitive-concurrent-queues-1.0.0-sources.jar" -d "low-latency-primitive-concurrent-queues-1.0.0-javadoc" -subpackages