Package | Description |
---|---|
org.jctools.queues |
This package aims to fill a gap in current JDK implementations in offering lock free (wait free where possible)
queues for inter-thread message passing with finer grained guarantees and an emphasis on performance.
At the time of writing the only lock free queue available in the JDK is ConcurrentLinkedQueue which is an unbounded multi-producer, multi-consumer queue which
is further encumbered by the need to implement the full range of Queue methods. |
org.jctools.queues.atomic |
Modifier and Type | Class and Description |
---|---|
class |
BaseMpscLinkedArrayQueue<E>
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks
of the initial size.
|
class |
ConcurrentCircularArrayQueue<E>
A concurrent access enabling class used by circular array based queues this class exposes an offset computation
method along with differently memory fenced load/store methods into the underlying array.
|
class |
ConcurrentSequencedCircularArrayQueue<E> |
class |
FFBuffer<E> |
class |
MpmcArrayQueue<E>
A Multi-Producer-Multi-Consumer queue based on a
ConcurrentCircularArrayQueue . |
class |
MpscArrayQueue<E>
A Multi-Producer-Single-Consumer queue based on a
ConcurrentCircularArrayQueue . |
class |
MpscChunkedArrayQueue<E>
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks
of the initial size.
|
class |
MpscGrowableArrayQueue<E>
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks
of the initial size.
|
class |
MpscSequencedArrayQueue<E>
A Multi-Producer-Single-Consumer queue based on same algorithm used for
MpmcArrayQueue but with the
appropriate weakening of constraints on offer. |
class |
MpscUnboundedArrayQueue<E>
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks
of the initial size.
|
class |
SpmcArrayQueue<E> |
class |
SpscArrayQueue<E>
A Single-Producer-Single-Consumer queue backed by a pre-allocated buffer.
|
class |
SpscChunkedArrayQueue<E> |
class |
SpscGrowableArrayQueue<E> |
class |
SpscUnboundedArrayQueue<E> |
Modifier and Type | Class and Description |
---|---|
class |
BaseMpscLinkedAtomicArrayQueue<E>
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks
of the initial size.
|
class |
MpmcAtomicArrayQueue<E> |
class |
MpscAtomicArrayQueue<E>
A Multi-Producer-Single-Consumer queue based on a
AtomicReferenceArrayQueue . |
class |
MpscChunkedAtomicArrayQueue<E>
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks
of the initial size.
|
class |
MpscGrowableAtomicArrayQueue<E>
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks
of the initial size.
|
class |
MpscUnboundedAtomicArrayQueue<E>
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks
of the initial size.
|
class |
SpmcAtomicArrayQueue<E>
A single-producer multiple-consumer AtomicReferenceArray-backed queue.
|
class |
SpscAtomicArrayQueue<E>
A Single-Producer-Single-Consumer queue backed by a pre-allocated buffer.
|
class |
SpscChunkedAtomicArrayQueue<E> |
class |
SpscGrowableAtomicArrayQueue<E> |
class |
SpscUnboundedAtomicArrayQueue<E> |
Copyright © 2013–2017. All rights reserved.