A B C D E F G H I K L M N O P Q R S T U V W X 

A

accept(T) - Method in interface org.jctools.queues.MessagePassingQueue.Consumer
This method will process an element already removed from the queue.
add(int) - Method in class org.jctools.maps.NonBlockingSetInt
Add i to the set.
add(long) - Method in class org.jctools.maps.ConcurrentAutoTable
Add the given value to current counter value.
add(E) - Method in class org.jctools.maps.NonBlockingHashSet
Add o to the set.
add(Integer) - Method in class org.jctools.maps.NonBlockingSetInt
Add i to the set.
align(long, int) - Static method in class org.jctools.util.Pow2
Align a value to the next multiple up of alignment.
allocate(int) - Static method in class org.jctools.queues.CircularArrayOffsetCalculator
 
allocate(int) - Static method in class org.jctools.queues.PaddedCircularArrayOffsetCalculator
 
AtomicQueueFactory - Class in org.jctools.queues.atomic
The queue factory produces Queue instances based on a best fit to the ConcurrentQueueSpec.
AtomicQueueFactory() - Constructor for class org.jctools.queues.atomic.AtomicQueueFactory
 
availableInQueue(long, long) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
availableInQueue(long, long) - Method in class org.jctools.queues.atomic.MpscChunkedAtomicArrayQueue
 
availableInQueue(long, long) - Method in class org.jctools.queues.atomic.MpscUnboundedAtomicArrayQueue
 
availableInQueue(long, long) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
availableInQueue(long, long) - Method in class org.jctools.queues.MpscChunkedArrayQueue
 
availableInQueue(long, long) - Method in class org.jctools.queues.MpscUnboundedArrayQueue
 

B

BaseMpscLinkedArrayQueue<E> - Class in org.jctools.queues
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks of the initial size.
BaseMpscLinkedArrayQueue(int) - Constructor for class org.jctools.queues.BaseMpscLinkedArrayQueue
 
BaseMpscLinkedAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicLinkedQueueGenerator which can found in the jctools-build module.
BaseMpscLinkedAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
buffer - Variable in class org.jctools.queues.ConcurrentCircularArrayQueue
 

C

CACHE_LINE_SIZE - Static variable in interface org.jctools.util.PortableJvmInfo
 
calcElementOffset(long) - Method in class org.jctools.queues.ConcurrentCircularArrayQueue
 
calcElementOffset(long) - Static method in class org.jctools.util.UnsafeRefArrayAccess
 
calcElementOffset(long, long) - Static method in class org.jctools.queues.CircularArrayOffsetCalculator
 
calcElementOffset(long, long) - Static method in class org.jctools.queues.ConcurrentCircularArrayQueue
 
calcElementOffset(long, long) - Static method in class org.jctools.queues.PaddedCircularArrayOffsetCalculator
 
calcSequenceOffset(long) - Method in class org.jctools.queues.ConcurrentSequencedCircularArrayQueue
 
calcSequenceOffset(long, long) - Static method in class org.jctools.queues.ConcurrentSequencedCircularArrayQueue
 
capacity - Variable in class org.jctools.queues.spec.ConcurrentQueueSpec
 
capacity() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
capacity() - Method in class org.jctools.queues.atomic.MpscChunkedAtomicArrayQueue
 
capacity() - Method in class org.jctools.queues.atomic.MpscUnboundedAtomicArrayQueue
 
capacity() - Method in class org.jctools.queues.atomic.SpscChunkedAtomicArrayQueue
 
capacity() - Method in class org.jctools.queues.atomic.SpscGrowableAtomicArrayQueue
 
capacity() - Method in class org.jctools.queues.atomic.SpscUnboundedAtomicArrayQueue
 
capacity() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
capacity() - Method in class org.jctools.queues.ConcurrentCircularArrayQueue
 
capacity() - Method in interface org.jctools.queues.MessagePassingQueue
 
capacity() - Method in class org.jctools.queues.MpscChunkedArrayQueue
 
capacity() - Method in class org.jctools.queues.MpscCompoundQueue
 
capacity() - Method in class org.jctools.queues.MpscUnboundedArrayQueue
 
capacity() - Method in class org.jctools.queues.SpscChunkedArrayQueue
 
capacity() - Method in class org.jctools.queues.SpscGrowableArrayQueue
 
capacity() - Method in class org.jctools.queues.SpscUnboundedArrayQueue
 
checkGreaterThanOrEqual(int, int, String) - Static method in class org.jctools.util.RangeUtil
 
checkLessThan(int, int, String) - Static method in class org.jctools.util.RangeUtil
 
checkLessThanOrEqual(int, long, String) - Static method in class org.jctools.util.RangeUtil
 
checkPositive(long, String) - Static method in class org.jctools.util.RangeUtil
 
checkPositiveOrZero(int, String) - Static method in class org.jctools.util.RangeUtil
 
CircularArrayOffsetCalculator - Class in org.jctools.queues
 
CircularArrayOffsetCalculator() - Constructor for class org.jctools.queues.CircularArrayOffsetCalculator
 
clear() - Method in class org.jctools.maps.NonBlockingHashMap
Removes all of the mappings from this map.
clear() - Method in class org.jctools.maps.NonBlockingHashMapLong
Removes all of the mappings from this map.
clear() - Method in class org.jctools.maps.NonBlockingHashSet
Empty the set.
clear() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Removes all of the mappings from this map.
clear() - Method in class org.jctools.maps.NonBlockingSetInt
Empty the bitvector.
clear() - Method in class org.jctools.queues.ConcurrentCircularArrayQueue
 
clear() - Method in interface org.jctools.queues.MessagePassingQueue
Removes all items from the queue.
clone() - Method in class org.jctools.maps.NonBlockingHashMap
Creates a shallow copy of this hashtable.
clone() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Creates a shallow copy of this hashtable.
ConcurrentAutoTable - Class in org.jctools.maps
An auto-resizing table of longs, supporting low-contention CAS operations.
ConcurrentAutoTable() - Constructor for class org.jctools.maps.ConcurrentAutoTable
 
ConcurrentCircularArrayQueue<E> - Class in org.jctools.queues
Common functionality for array backed queues.
ConcurrentCircularArrayQueue(int) - Constructor for class org.jctools.queues.ConcurrentCircularArrayQueue
 
ConcurrentQueueSpec - Class in org.jctools.queues.spec
 
ConcurrentQueueSpec(int, int, int, Ordering, Preference) - Constructor for class org.jctools.queues.spec.ConcurrentQueueSpec
 
ConcurrentSequencedCircularArrayQueue<E> - Class in org.jctools.queues
 
ConcurrentSequencedCircularArrayQueue(int) - Constructor for class org.jctools.queues.ConcurrentSequencedCircularArrayQueue
 
consumers - Variable in class org.jctools.queues.spec.ConcurrentQueueSpec
 
contains(int) - Method in class org.jctools.maps.NonBlockingSetInt
Test if i is in the set.
contains(Object) - Method in class org.jctools.maps.NonBlockingHashMap
Legacy method testing if some key maps into the specified value in this table.
contains(Object) - Method in class org.jctools.maps.NonBlockingHashMapLong
Legacy method testing if some key maps into the specified value in this table.
contains(Object) - Method in class org.jctools.maps.NonBlockingHashSet
 
contains(Object) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Legacy method testing if some key maps into the specified value in this table.
contains(Object) - Method in class org.jctools.maps.NonBlockingSetInt
Test if o is in the set.
containsKey(long) - Method in class org.jctools.maps.NonBlockingHashMapLong
Tests if the key in the table.
containsKey(Object) - Method in class org.jctools.maps.NonBlockingHashMap
Tests if the key in the table using the equals method.
containsKey(Object) - Method in class org.jctools.maps.NonBlockingHashMapLong
containsKey(Object) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Tests if the key in the table using the equals method.
containsValue(Object) - Method in class org.jctools.maps.NonBlockingHashMap
Returns true if this Map maps one or more keys to the specified value.
containsValue(Object) - Method in class org.jctools.maps.NonBlockingHashMapLong
Returns true if this Map maps one or more keys to the specified value.
containsValue(Object) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Returns true if this Map maps one or more keys to the specified value.
CPUs - Static variable in interface org.jctools.util.PortableJvmInfo
 
createBoundedMpmc(int) - Static method in class org.jctools.queues.spec.ConcurrentQueueSpec
 
createBoundedMpsc(int) - Static method in class org.jctools.queues.spec.ConcurrentQueueSpec
 
createBoundedSpmc(int) - Static method in class org.jctools.queues.spec.ConcurrentQueueSpec
 
createBoundedSpsc(int) - Static method in class org.jctools.queues.spec.ConcurrentQueueSpec
 
currentConsumerIndex() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
currentConsumerIndex() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
currentConsumerIndex() - Method in class org.jctools.queues.ConcurrentCircularArrayQueue
 
currentConsumerIndex() - Method in interface org.jctools.queues.QueueProgressIndicators
This method has no concurrent visibility semantics.
currentProducerIndex() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
currentProducerIndex() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
currentProducerIndex() - Method in class org.jctools.queues.ConcurrentCircularArrayQueue
 
currentProducerIndex() - Method in interface org.jctools.queues.QueueProgressIndicators
This method has no concurrent visibility semantics.

D

decrement() - Method in class org.jctools.maps.ConcurrentAutoTable
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.atomic.MpscUnboundedAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.MpmcArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.MpscArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.MpscCompoundQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.MpscUnboundedArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.SpmcArrayQueue
 
drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.SpscArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.MpmcArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.MpscArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.MpscCompoundQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.SpmcArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.SpscArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.MpmcArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.MpscArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.MpscCompoundQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.SpmcArrayQueue
 
drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.SpscArrayQueue
 
drain(MessagePassingQueue.Consumer<T>) - Method in interface org.jctools.queues.MessagePassingQueue
Remove all available item from the queue and hand to consume.
drain(MessagePassingQueue.Consumer<T>, int) - Method in interface org.jctools.queues.MessagePassingQueue
Remove up to limit elements from the queue and hand to consume.
drain(MessagePassingQueue.Consumer<T>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in interface org.jctools.queues.MessagePassingQueue
Remove elements from the queue and hand to consume forever.
drain(MessagePassingQueue<? extends E>, MessagePassingQueue.Consumer<? super E>) - Static method in class org.jctools.queues.MessagePassingQueueUtil
 
drain(MessagePassingQueue<? extends E>, MessagePassingQueue.Consumer<? super E>, int) - Static method in class org.jctools.queues.MessagePassingQueueUtil
 
drain(MessagePassingQueue<? extends E>, MessagePassingQueue.Consumer<? super E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Static method in class org.jctools.queues.MessagePassingQueueUtil
 

E

elements() - Method in class org.jctools.maps.NonBlockingHashMap
Returns an enumeration of the values in this table.
elements() - Method in class org.jctools.maps.NonBlockingHashMapLong
Returns an enumeration of the values in this table.
elements() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Returns an enumeration of the values in this table.
entrySet() - Method in class org.jctools.maps.NonBlockingHashMap
Returns a Set view of the mappings contained in this map.
entrySet() - Method in class org.jctools.maps.NonBlockingHashMapLong
Returns a Set view of the mappings contained in this map.
entrySet() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Returns a Set view of the mappings contained in this map.
estimate_get() - Method in class org.jctools.maps.ConcurrentAutoTable

F

failFastOffer(E) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
A wait free alternative to offer which fails on CAS failure.
failFastOffer(E) - Method in class org.jctools.queues.MpscArrayQueue
A wait free alternative to offer which fails on CAS failure.
FIFO - org.jctools.queues.spec.Ordering
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.atomic.MpscLinkedAtomicQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.atomic.MpscUnboundedAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.atomic.SpscLinkedAtomicQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.MpmcArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.MpscArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.MpscCompoundQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.MpscLinkedQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.MpscUnboundedArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.SpmcArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.SpscArrayQueue
 
fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.SpscLinkedQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.atomic.MpscLinkedAtomicQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.atomic.SpscLinkedAtomicQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.MpmcArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.MpscArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.MpscCompoundQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.MpscLinkedQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.SpmcArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.SpscArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.SpscLinkedQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.MpscLinkedAtomicQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.atomic.SpscLinkedAtomicQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.MpmcArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.MpscArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.MpscCompoundQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.MpscLinkedQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.SpmcArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.SpscArrayQueue
 
fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.SpscLinkedQueue
 
fill(MessagePassingQueue.Supplier<T>) - Method in interface org.jctools.queues.MessagePassingQueue
Stuff the queue with elements from the supplier.
fill(MessagePassingQueue.Supplier<T>, int) - Method in interface org.jctools.queues.MessagePassingQueue
Stuff the queue with up to limit elements from the supplier.
fill(MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in interface org.jctools.queues.MessagePassingQueue
Stuff the queue with elements from the supplier forever.

G

get() - Method in class org.jctools.maps.ConcurrentAutoTable
Current value of the counter.
get() - Method in interface org.jctools.queues.MessagePassingQueue.Supplier
This method will return the next value to be written to the queue.
get(long) - Method in class org.jctools.maps.NonBlockingHashMapLong
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get(E) - Method in class org.jctools.maps.NonBlockingHashSet
 
get(Object) - Method in class org.jctools.maps.NonBlockingHashMap
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
get(Object) - Method in class org.jctools.maps.NonBlockingHashMapLong
Auto-boxing version of NonBlockingHashMapLong.get(long).
get(Object) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
getAndNullValue() - Method in class org.jctools.queues.atomic.LinkedQueueAtomicNode
Gets the current value and nulls out the reference to it from this node.
getCurrentBufferCapacity(long) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
getCurrentBufferCapacity(long) - Method in class org.jctools.queues.atomic.MpscChunkedAtomicArrayQueue
 
getCurrentBufferCapacity(long) - Method in class org.jctools.queues.atomic.MpscGrowableAtomicArrayQueue
 
getCurrentBufferCapacity(long) - Method in class org.jctools.queues.atomic.MpscUnboundedAtomicArrayQueue
 
getCurrentBufferCapacity(long) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
getCurrentBufferCapacity(long) - Method in class org.jctools.queues.MpscChunkedArrayQueue
 
getCurrentBufferCapacity(long) - Method in class org.jctools.queues.MpscGrowableArrayQueue
 
getCurrentBufferCapacity(long) - Method in class org.jctools.queues.MpscUnboundedArrayQueue
 
getk(TypeK) - Method in class org.jctools.maps.NonBlockingHashMap
Returns the Key to which the specified key is mapped, or null if this map contains no mapping for the key.
getNextBufferSize(E[]) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
getNextBufferSize(E[]) - Method in class org.jctools.queues.MpscChunkedArrayQueue
 
getNextBufferSize(E[]) - Method in class org.jctools.queues.MpscGrowableArrayQueue
 
getNextBufferSize(E[]) - Method in class org.jctools.queues.MpscUnboundedArrayQueue
 
getNextBufferSize(AtomicReferenceArray<E>) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
getNextBufferSize(AtomicReferenceArray<E>) - Method in class org.jctools.queues.atomic.MpscChunkedAtomicArrayQueue
 
getNextBufferSize(AtomicReferenceArray<E>) - Method in class org.jctools.queues.atomic.MpscGrowableAtomicArrayQueue
 
getNextBufferSize(AtomicReferenceArray<E>) - Method in class org.jctools.queues.atomic.MpscUnboundedAtomicArrayQueue
 

H

hasMoreElements() - Method in class org.jctools.maps.NonBlockingHashMapLong.IteratorLong
True if there are more keys to iterate over.
hasNext() - Method in class org.jctools.maps.NonBlockingHashMapLong.IteratorLong
True if there are more keys to iterate over.

I

idle(int) - Method in interface org.jctools.queues.MessagePassingQueue.WaitStrategy
This method can implement static or dynamic backoff.
increment() - Method in class org.jctools.maps.ConcurrentAutoTable
IndexedQueueSizeUtil - Class in org.jctools.queues
 
IndexedQueueSizeUtil() - Constructor for class org.jctools.queues.IndexedQueueSizeUtil
 
IndexedQueueSizeUtil.IndexedQueue - Interface in org.jctools.queues
 
initialize() - Method in class org.jctools.maps.NonBlockingHashMap
 
initialize() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
 
internal_size() - Method in class org.jctools.maps.ConcurrentAutoTable
Return the internal counter striping factor.
InternalAPI - Annotation Type in org.jctools.util
This annotation marks classes and methods which may be public for any reason (to support better testing or reduce code duplication) but are not intended as public API and may change between releases without the change being considered a breaking API change (a major release).
intValue() - Method in class org.jctools.maps.ConcurrentAutoTable
Same as ConcurrentAutoTable.get(), included for completeness.
isBounded() - Method in class org.jctools.queues.spec.ConcurrentQueueSpec
 
isEmpty() - Method in class org.jctools.maps.NonBlockingHashMap
Returns size() == 0.
isEmpty() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Returns size() == 0.
isEmpty() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
isEmpty() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
isEmpty() - Method in class org.jctools.queues.ConcurrentCircularArrayQueue
 
isEmpty() - Method in interface org.jctools.queues.MessagePassingQueue
This method's accuracy is subject to concurrent modifications happening as the observation is carried out.
isEmpty(IndexedQueueSizeUtil.IndexedQueue) - Static method in class org.jctools.queues.IndexedQueueSizeUtil
 
isMpmc() - Method in class org.jctools.queues.spec.ConcurrentQueueSpec
 
isMpsc() - Method in class org.jctools.queues.spec.ConcurrentQueueSpec
 
isPowerOfTwo(int) - Static method in class org.jctools.util.Pow2
 
isSpmc() - Method in class org.jctools.queues.spec.ConcurrentQueueSpec
 
isSpsc() - Method in class org.jctools.queues.spec.ConcurrentQueueSpec
 
iterator() - Method in class org.jctools.maps.NonBlockingHashSet
 
iterator() - Method in class org.jctools.maps.NonBlockingSetInt
Standard Java Iterator.
iterator() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
iterator() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
iterator() - Method in class org.jctools.queues.ConcurrentCircularArrayQueue
 
iterator() - Method in class org.jctools.queues.MpscCompoundQueue
 
IteratorLong() - Constructor for class org.jctools.maps.NonBlockingHashMapLong.IteratorLong
A new IteratorLong

K

keepRunning() - Method in interface org.jctools.queues.MessagePassingQueue.ExitCondition
This method should be implemented such that the flag read or determination cannot be hoisted out of a loop which notmally means a volatile load, but with JDK9 VarHandles may mean getOpaque.
keys() - Method in class org.jctools.maps.NonBlockingHashMap
Returns an enumeration of the keys in this table.
keys() - Method in class org.jctools.maps.NonBlockingHashMapLong
Returns an enumeration of the auto-boxed keys in this table.
keys() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Returns an enumeration of the keys in this table.
keySet() - Method in class org.jctools.maps.NonBlockingHashMap
Returns a Set view of the keys contained in this map.
keySet() - Method in class org.jctools.maps.NonBlockingHashMapLong
Returns a Set view of the keys contained in this map; with care the keys may be iterated over without auto-boxing.
keySet() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Returns a Set view of the keys contained in this map.
keySetLong() - Method in class org.jctools.maps.NonBlockingHashMapLong
Keys as a long array.
KFIFO - org.jctools.queues.spec.Ordering
 

L

LATENCY - org.jctools.queues.spec.Preference
 
length() - Method in class org.jctools.maps.NonBlockingSetInt
Approx largest element in set; at least as big (but max might be smaller).
LinkedQueueAtomicNode<E> - Class in org.jctools.queues.atomic
 
longValue() - Method in class org.jctools.maps.ConcurrentAutoTable
Same as ConcurrentAutoTable.get(), included for completeness.
lpElement(E[], long) - Static method in class org.jctools.util.UnsafeRefArrayAccess
A plain load (no ordering/fences) of an element from a given offset.
lpValue() - Method in class org.jctools.queues.atomic.LinkedQueueAtomicNode
 
lvConsumerIndex() - Method in interface org.jctools.queues.IndexedQueueSizeUtil.IndexedQueue
 
lvElement(E[], long) - Static method in class org.jctools.util.UnsafeRefArrayAccess
A volatile load (load + LoadLoad barrier) of an element from a given offset.
lvNext() - Method in class org.jctools.queues.atomic.LinkedQueueAtomicNode
 
lvProducerIndex() - Method in interface org.jctools.queues.IndexedQueueSizeUtil.IndexedQueue
 
lvSequence(long[], long) - Method in class org.jctools.queues.ConcurrentSequencedCircularArrayQueue
 

M

mask - Variable in class org.jctools.queues.ConcurrentCircularArrayQueue
 
MAX_POW2 - Static variable in class org.jctools.util.Pow2
 
MessagePassingQueue<T> - Interface in org.jctools.queues
This is a tagging interface for the queues in this library which implement a subset of the Queue interface sufficient for concurrent message passing.
Message passing queues provide happens before semantics to messages passed through, namely that writes made by the producer before offering the message are visible to the consuming thread after the message has been polled out of the queue.
MessagePassingQueue.Consumer<T> - Interface in org.jctools.queues
 
MessagePassingQueue.ExitCondition - Interface in org.jctools.queues
 
MessagePassingQueue.Supplier<T> - Interface in org.jctools.queues
 
MessagePassingQueue.WaitStrategy - Interface in org.jctools.queues
 
MessagePassingQueueUtil - Class in org.jctools.queues
 
MpmcArrayQueue<E> - Class in org.jctools.queues
A Multi-Producer-Multi-Consumer queue based on a ConcurrentCircularArrayQueue.
MpmcArrayQueue(int) - Constructor for class org.jctools.queues.MpmcArrayQueue
 
MpmcAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicArrayQueueGenerator which can found in the jctools-build module.
MpmcAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
MpscArrayQueue<E> - Class in org.jctools.queues
A Multi-Producer-Single-Consumer queue based on a ConcurrentCircularArrayQueue.
MpscArrayQueue(int) - Constructor for class org.jctools.queues.MpscArrayQueue
 
MpscAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicArrayQueueGenerator which can found in the jctools-build module.
MpscAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.MpscAtomicArrayQueue
 
MpscChunkedArrayQueue<E> - Class in org.jctools.queues
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks of the initial size.
MpscChunkedArrayQueue(int) - Constructor for class org.jctools.queues.MpscChunkedArrayQueue
 
MpscChunkedArrayQueue(int, int) - Constructor for class org.jctools.queues.MpscChunkedArrayQueue
 
MpscChunkedAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicLinkedQueueGenerator which can found in the jctools-build module.
MpscChunkedAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.MpscChunkedAtomicArrayQueue
 
MpscChunkedAtomicArrayQueue(int, int) - Constructor for class org.jctools.queues.atomic.MpscChunkedAtomicArrayQueue
 
MpscCompoundQueue<E> - Class in org.jctools.queues
 
MpscCompoundQueue(int) - Constructor for class org.jctools.queues.MpscCompoundQueue
 
MpscCompoundQueue(int, int) - Constructor for class org.jctools.queues.MpscCompoundQueue
 
MpscGrowableArrayQueue<E> - Class in org.jctools.queues
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks of the initial size.
MpscGrowableArrayQueue(int) - Constructor for class org.jctools.queues.MpscGrowableArrayQueue
 
MpscGrowableArrayQueue(int, int) - Constructor for class org.jctools.queues.MpscGrowableArrayQueue
 
MpscGrowableAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicLinkedQueueGenerator which can found in the jctools-build module.
MpscGrowableAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.MpscGrowableAtomicArrayQueue
 
MpscGrowableAtomicArrayQueue(int, int) - Constructor for class org.jctools.queues.atomic.MpscGrowableAtomicArrayQueue
 
MpscLinkedAtomicQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicLinkedQueueGenerator which can found in the jctools-build module.
MpscLinkedAtomicQueue() - Constructor for class org.jctools.queues.atomic.MpscLinkedAtomicQueue
 
MpscLinkedQueue<E> - Class in org.jctools.queues
This is a direct Java port of the MPSC algorithm as presented on 1024 Cores by D.
MpscLinkedQueue() - Constructor for class org.jctools.queues.MpscLinkedQueue
 
MpscLinkedQueue7<E> - Class in org.jctools.queues
 
MpscLinkedQueue7() - Constructor for class org.jctools.queues.MpscLinkedQueue7
 
MpscLinkedQueue8<E> - Class in org.jctools.queues
 
MpscLinkedQueue8() - Constructor for class org.jctools.queues.MpscLinkedQueue8
 
MpscUnboundedArrayQueue<E> - Class in org.jctools.queues
An MPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks of the initial size.
MpscUnboundedArrayQueue(int) - Constructor for class org.jctools.queues.MpscUnboundedArrayQueue
 
MpscUnboundedAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicLinkedQueueGenerator which can found in the jctools-build module.
MpscUnboundedAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.MpscUnboundedAtomicArrayQueue
 

N

newMpscLinkedQueue() - Static method in class org.jctools.queues.MpscLinkedQueue
Construct the implementation based on availability of getAndSet intrinsic.
newQueue(ConcurrentQueueSpec) - Static method in class org.jctools.queues.atomic.AtomicQueueFactory
 
newQueue(ConcurrentQueueSpec) - Static method in class org.jctools.queues.QueueFactory
 
next() - Method in class org.jctools.maps.NonBlockingHashMapLong.IteratorLong
Auto-box and return the next key.
nextElement() - Method in class org.jctools.maps.NonBlockingHashMapLong.IteratorLong
Auto-box and return the next key.
nextLong() - Method in class org.jctools.maps.NonBlockingHashMapLong.IteratorLong
Return the next key as a primitive long.
NonBlockingHashMap<TypeK,TypeV> - Class in org.jctools.maps
A lock-free alternate implementation of ConcurrentHashMap with better scaling properties and generally lower costs to mutate the Map.
NonBlockingHashMap() - Constructor for class org.jctools.maps.NonBlockingHashMap
Create a new NonBlockingHashMap with default minimum size (currently set to 8 K/V pairs or roughly 84 bytes on a standard 32-bit JVM).
NonBlockingHashMap(int) - Constructor for class org.jctools.maps.NonBlockingHashMap
Create a new NonBlockingHashMap with initial room for the given number of elements, thus avoiding internal resizing operations to reach an appropriate size.
NonBlockingHashMapLong<TypeV> - Class in org.jctools.maps
A lock-free alternate implementation of ConcurrentHashMap with primitive long keys, better scaling properties and generally lower costs.
NonBlockingHashMapLong() - Constructor for class org.jctools.maps.NonBlockingHashMapLong
Create a new NonBlockingHashMapLong with default minimum size (currently set to 8 K/V pairs or roughly 84 bytes on a standard 32-bit JVM).
NonBlockingHashMapLong(boolean) - Constructor for class org.jctools.maps.NonBlockingHashMapLong
Create a new NonBlockingHashMapLong, setting the space-for-speed tradeoff.
NonBlockingHashMapLong(int) - Constructor for class org.jctools.maps.NonBlockingHashMapLong
Create a new NonBlockingHashMapLong with initial room for the given number of elements, thus avoiding internal resizing operations to reach an appropriate size.
NonBlockingHashMapLong(int, boolean) - Constructor for class org.jctools.maps.NonBlockingHashMapLong
Create a new NonBlockingHashMapLong, setting both the initial size and the space-for-speed tradeoff.
NonBlockingHashMapLong.IteratorLong - Class in org.jctools.maps
A class which implements the Iterator and Enumeration interfaces, generified to the Long class and supporting a non-auto-boxing NonBlockingHashMapLong.IteratorLong.nextLong() function.
NonBlockingHashSet<E> - Class in org.jctools.maps
A simple wrapper around NonBlockingHashMap making it implement the Set interface.
NonBlockingHashSet() - Constructor for class org.jctools.maps.NonBlockingHashSet
Make a new empty NonBlockingHashSet.
NonBlockingIdentityHashMap<TypeK,TypeV> - Class in org.jctools.maps
A lock-free alternate implementation of ConcurrentHashMap with better scaling properties and generally lower costs to mutate the Map.
NonBlockingIdentityHashMap() - Constructor for class org.jctools.maps.NonBlockingIdentityHashMap
Create a new NonBlockingHashMap with default minimum size (currently set to 8 K/V pairs or roughly 84 bytes on a standard 32-bit JVM).
NonBlockingIdentityHashMap(int) - Constructor for class org.jctools.maps.NonBlockingIdentityHashMap
Create a new NonBlockingHashMap with initial room for the given number of elements, thus avoiding internal resizing operations to reach an appropriate size.
NonBlockingSetInt - Class in org.jctools.maps
A multi-threaded bit-vector set, implemented as an array of primitive longs.
NonBlockingSetInt() - Constructor for class org.jctools.maps.NonBlockingSetInt
Create a new empty bit-vector
NONE - org.jctools.queues.spec.Ordering
 
NONE - org.jctools.queues.spec.Preference
 

O

offer(E) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
offer(E) - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
offer(E) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the Queue.offer(Object) interface.
offer(E) - Method in class org.jctools.queues.atomic.MpscLinkedAtomicQueue
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the Queue.offer(Object) interface.
offer(E) - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
offer(E) - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the Queue.offer(Object) interface.
offer(E) - Method in class org.jctools.queues.atomic.SpscLinkedAtomicQueue
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the Queue.offer(Object) interface.
offer(E) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
offer(E) - Method in class org.jctools.queues.MpmcArrayQueue
 
offer(E) - Method in class org.jctools.queues.MpscArrayQueue
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the Queue.offer(Object) interface.
offer(E) - Method in class org.jctools.queues.MpscCompoundQueue
 
offer(E) - Method in class org.jctools.queues.MpscLinkedQueue
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the Queue.offer(Object) interface.
offer(E) - Method in class org.jctools.queues.SpmcArrayQueue
 
offer(E) - Method in class org.jctools.queues.SpscArrayQueue
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the Queue.offer(Object) interface.
offer(E) - Method in class org.jctools.queues.SpscLinkedQueue
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the Queue.offer(Object) interface.
offer(T) - Method in interface org.jctools.queues.MessagePassingQueue
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the Queue.offer(Object) interface.
offerIfBelowThreshold(E, int) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
MpscAtomicArrayQueue.offer(E)} if AtomicReferenceArrayQueue.size() is less than threshold.
offerIfBelowThreshold(E, int) - Method in class org.jctools.queues.MpscArrayQueue
ordering - Variable in class org.jctools.queues.spec.ConcurrentQueueSpec
 
Ordering - Enum in org.jctools.queues.spec
 
org.jctools.maps - package org.jctools.maps
 
org.jctools.queues - package 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 - package org.jctools.queues.atomic
 
org.jctools.queues.spec - package org.jctools.queues.spec
 
org.jctools.util - package org.jctools.util
 

P

PaddedCircularArrayOffsetCalculator - Class in org.jctools.queues
 
PaddedCircularArrayOffsetCalculator() - Constructor for class org.jctools.queues.PaddedCircularArrayOffsetCalculator
 
PAGE_SIZE - Static variable in interface org.jctools.util.UnsafeJvmInfo
 
peek() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.peek() interface.
peek() - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
peek() - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.peek() interface.
peek() - Method in class org.jctools.queues.atomic.MpscLinkedAtomicQueue
 
peek() - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
peek() - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.peek() interface.
peek() - Method in class org.jctools.queues.atomic.SpscLinkedAtomicQueue
 
peek() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.peek() interface.
peek() - Method in interface org.jctools.queues.MessagePassingQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.peek() interface.
peek() - Method in class org.jctools.queues.MpmcArrayQueue
 
peek() - Method in class org.jctools.queues.MpscArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.peek() interface.
peek() - Method in class org.jctools.queues.MpscCompoundQueue
 
peek() - Method in class org.jctools.queues.MpscLinkedQueue
 
peek() - Method in class org.jctools.queues.SpmcArrayQueue
 
peek() - Method in class org.jctools.queues.SpscArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.peek() interface.
peek() - Method in class org.jctools.queues.SpscLinkedQueue
 
poll() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.atomic.MpscLinkedAtomicQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
poll() - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.atomic.SpscLinkedAtomicQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in interface org.jctools.queues.MessagePassingQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.MpmcArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.MpscArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.MpscCompoundQueue
 
poll() - Method in class org.jctools.queues.MpscLinkedQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.SpmcArrayQueue
 
poll() - Method in class org.jctools.queues.SpscArrayQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
poll() - Method in class org.jctools.queues.SpscLinkedQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the Queue.poll() interface.
PortableJvmInfo - Interface in org.jctools.util
JVM Information that is standard and available on all JVMs (i.e.
Pow2 - Class in org.jctools.util
Power of 2 utility functions.
Pow2() - Constructor for class org.jctools.util.Pow2
 
preference - Variable in class org.jctools.queues.spec.ConcurrentQueueSpec
 
Preference - Enum in org.jctools.queues.spec
 
print() - Method in class org.jctools.maps.ConcurrentAutoTable
A more verbose print than ConcurrentAutoTable.toString(), showing internal structure.
print() - Method in class org.jctools.maps.NonBlockingHashMap
Verbose printout of table internals, useful for debugging.
print() - Method in class org.jctools.maps.NonBlockingHashMapLong
Verbose printout of table internals, useful for debugging.
print() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Verbose printout of table internals, useful for debugging.
print() - Method in class org.jctools.maps.NonBlockingSetInt
Verbose printout of internal structure for debugging.
PRODUCER_FIFO - org.jctools.queues.spec.Ordering
 
producers - Variable in class org.jctools.queues.spec.ConcurrentQueueSpec
 
put(long, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
Maps the specified key to the specified value in the table.
put(Long, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
put(TypeK, TypeV) - Method in class org.jctools.maps.NonBlockingHashMap
Maps the specified key to the specified value in the table.
put(TypeK, TypeV) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Maps the specified key to the specified value in the table.
putAll(Map<? extends TypeK, ? extends TypeV>) - Method in class org.jctools.maps.NonBlockingHashMap
Copies all of the mappings from the specified map to this one, replacing any existing mappings.
putAll(Map<? extends TypeK, ? extends TypeV>) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Copies all of the mappings from the specified map to this one, replacing any existing mappings.
putIfAbsent(long, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
Atomically, do a NonBlockingHashMapLong.put(long, TypeV) if-and-only-if the key is not mapped.
putIfAbsent(Long, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
putIfAbsent(TypeK, TypeV) - Method in class org.jctools.maps.NonBlockingHashMap
Atomically, do a NonBlockingHashMap.put(TypeK, TypeV) if-and-only-if the key is not mapped.
putIfAbsent(TypeK, TypeV) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Atomically, do a NonBlockingIdentityHashMap.put(TypeK, TypeV) if-and-only-if the key is not mapped.
putIfMatch(Object, Object, Object) - Method in class org.jctools.maps.NonBlockingHashMap
Atomically replace newVal for oldVal, returning the value that existed there before.
putIfMatchAllowNull(Object, Object, Object) - Method in class org.jctools.maps.NonBlockingHashMap
 

Q

QueueFactory - Class in org.jctools.queues
The queue factory produces Queue instances based on a best fit to the ConcurrentQueueSpec.
QueueFactory() - Constructor for class org.jctools.queues.QueueFactory
 
QueueProgressIndicators - Interface in org.jctools.queues
This interface is provided for monitoring purposes only and is only available on queues where it is easy to provide it.

R

RangeUtil - Class in org.jctools.util
 
RangeUtil() - Constructor for class org.jctools.util.RangeUtil
 
raw_array() - Method in class org.jctools.maps.NonBlockingHashMap
 
RECOMENDED_OFFER_BATCH - Static variable in interface org.jctools.util.PortableJvmInfo
 
RECOMENDED_POLL_BATCH - Static variable in interface org.jctools.util.PortableJvmInfo
 
REF_ARRAY_BASE - Static variable in class org.jctools.util.UnsafeRefArrayAccess
 
REF_ELEMENT_SHIFT - Static variable in class org.jctools.util.UnsafeRefArrayAccess
 
rehash() - Method in class org.jctools.maps.NonBlockingHashMap
 
rehash() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
 
relaxedOffer(E) - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
relaxedOffer(E) - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
relaxedOffer(E) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
 
relaxedOffer(E) - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
relaxedOffer(E) - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
 
relaxedOffer(E) - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
relaxedOffer(E) - Method in class org.jctools.queues.MpmcArrayQueue
 
relaxedOffer(E) - Method in class org.jctools.queues.MpscArrayQueue
 
relaxedOffer(E) - Method in class org.jctools.queues.MpscCompoundQueue
 
relaxedOffer(E) - Method in class org.jctools.queues.SpmcArrayQueue
 
relaxedOffer(E) - Method in class org.jctools.queues.SpscArrayQueue
 
relaxedOffer(T) - Method in interface org.jctools.queues.MessagePassingQueue
Called from a producer thread subject to the restrictions appropriate to the implementation.
relaxedPeek() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
relaxedPeek() - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
relaxedPeek() - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
 
relaxedPeek() - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
relaxedPeek() - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
 
relaxedPeek() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
relaxedPeek() - Method in interface org.jctools.queues.MessagePassingQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation.
relaxedPeek() - Method in class org.jctools.queues.MpmcArrayQueue
 
relaxedPeek() - Method in class org.jctools.queues.MpscArrayQueue
 
relaxedPeek() - Method in class org.jctools.queues.MpscCompoundQueue
 
relaxedPeek() - Method in class org.jctools.queues.SpmcArrayQueue
 
relaxedPeek() - Method in class org.jctools.queues.SpscArrayQueue
 
relaxedPoll() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
relaxedPoll() - Method in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
 
relaxedPoll() - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
 
relaxedPoll() - Method in class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
relaxedPoll() - Method in class org.jctools.queues.atomic.SpscAtomicArrayQueue
 
relaxedPoll() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
relaxedPoll() - Method in interface org.jctools.queues.MessagePassingQueue
Called from the consumer thread subject to the restrictions appropriate to the implementation.
relaxedPoll() - Method in class org.jctools.queues.MpmcArrayQueue
 
relaxedPoll() - Method in class org.jctools.queues.MpscArrayQueue
 
relaxedPoll() - Method in class org.jctools.queues.MpscCompoundQueue
 
relaxedPoll() - Method in class org.jctools.queues.SpmcArrayQueue
 
relaxedPoll() - Method in class org.jctools.queues.SpscArrayQueue
 
remove() - Method in class org.jctools.maps.NonBlockingHashMapLong.IteratorLong
remove(int) - Method in class org.jctools.maps.NonBlockingSetInt
Remove i from the set.
remove(long) - Method in class org.jctools.maps.NonBlockingHashMapLong
Removes the key (and its corresponding value) from this map.
remove(long, Object) - Method in class org.jctools.maps.NonBlockingHashMapLong
Atomically do a NonBlockingHashMapLong.remove(long) if-and-only-if the key is mapped to a value which is equals to the given value.
remove(Object) - Method in class org.jctools.maps.NonBlockingHashMap
Removes the key (and its corresponding value) from this map.
remove(Object) - Method in class org.jctools.maps.NonBlockingHashMapLong
Auto-boxing version of NonBlockingHashMapLong.remove(long).
remove(Object) - Method in class org.jctools.maps.NonBlockingHashSet
Remove o from the set.
remove(Object) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Removes the key (and its corresponding value) from this map.
remove(Object) - Method in class org.jctools.maps.NonBlockingSetInt
Remove o from the set.
remove(Object) - Method in class org.jctools.queues.atomic.MpscLinkedAtomicQueue
remove(Object) - Method in class org.jctools.queues.MpscLinkedQueue
remove(Object, Object) - Method in class org.jctools.maps.NonBlockingHashMap
Atomically do a NonBlockingHashMap.remove(Object) if-and-only-if the key is mapped to a value which is equals to the given value.
remove(Object, Object) - Method in class org.jctools.maps.NonBlockingHashMapLong
remove(Object, Object) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Atomically do a NonBlockingIdentityHashMap.remove(Object) if-and-only-if the key is mapped to a value which is equals to the given value.
replace(long, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
Atomically do a put(key,val) if-and-only-if the key is mapped to some value already.
replace(long, TypeV, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
Atomically do a put(key,newValue) if-and-only-if the key is mapped a value which is equals to oldValue.
replace(Long, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
replace(Long, TypeV, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
replace(TypeK, TypeV) - Method in class org.jctools.maps.NonBlockingHashMap
Atomically do a put(key,val) if-and-only-if the key is mapped to some value already.
replace(TypeK, TypeV) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Atomically do a put(key,val) if-and-only-if the key is mapped to some value already.
replace(TypeK, TypeV, TypeV) - Method in class org.jctools.maps.NonBlockingHashMap
Atomically do a put(key,newValue) if-and-only-if the key is mapped a value which is equals to oldValue.
replace(TypeK, TypeV, TypeV) - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Atomically do a put(key,newValue) if-and-only-if the key is mapped a value which is equals to oldValue.
reprobes() - Method in class org.jctools.maps.NonBlockingHashMap
Get and clear the current count of reprobes.
reprobes() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Get and clear the current count of reprobes.
roundToPowerOfTwo(int) - Static method in class org.jctools.util.Pow2
 

S

SEQ_BUFFER_PAD - Static variable in class org.jctools.queues.ConcurrentSequencedCircularArrayQueue
 
sequenceBuffer - Variable in class org.jctools.queues.ConcurrentSequencedCircularArrayQueue
 
set(long) - Method in class org.jctools.maps.ConcurrentAutoTable
Atomically set the sum of the striped counters to specified value.
size() - Method in class org.jctools.maps.NonBlockingHashMap
Returns the number of key-value mappings in this map.
size() - Method in class org.jctools.maps.NonBlockingHashMapLong
Returns the number of key-value mappings in this map.
size() - Method in class org.jctools.maps.NonBlockingHashSet
Current count of elements in the set.
size() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Returns the number of key-value mappings in this map.
size() - Method in class org.jctools.maps.NonBlockingSetInt
Current count of elements in the set.
size() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
size() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
size() - Method in class org.jctools.queues.ConcurrentCircularArrayQueue
 
size() - Method in interface org.jctools.queues.MessagePassingQueue
This method's accuracy is subject to concurrent modifications happening as the size is estimated and as such is a best effort rather than absolute value.
size() - Method in class org.jctools.queues.MpscCompoundQueue
 
size(IndexedQueueSizeUtil.IndexedQueue) - Static method in class org.jctools.queues.IndexedQueueSizeUtil
 
soElement(E[], long, E) - Static method in class org.jctools.util.UnsafeRefArrayAccess
An ordered store(store + StoreStore barrier) of an element to a given offset
soNext(LinkedQueueAtomicNode<E>) - Method in class org.jctools.queues.atomic.LinkedQueueAtomicNode
 
soSequence(long[], long, long) - Method in class org.jctools.queues.ConcurrentSequencedCircularArrayQueue
 
spElement(E[], long, E) - Static method in class org.jctools.util.UnsafeRefArrayAccess
A plain store (no ordering/fences) of an element to a given offset
SpmcArrayQueue<E> - Class in org.jctools.queues
 
SpmcArrayQueue(int) - Constructor for class org.jctools.queues.SpmcArrayQueue
 
SpmcAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicArrayQueueGenerator which can found in the jctools-build module.
SpmcAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.SpmcAtomicArrayQueue
 
SpscArrayQueue<E> - Class in org.jctools.queues
A Single-Producer-Single-Consumer queue backed by a pre-allocated buffer.
SpscArrayQueue(int) - Constructor for class org.jctools.queues.SpscArrayQueue
 
SpscAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicArrayQueueGenerator which can found in the jctools-build module.
SpscAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.SpscAtomicArrayQueue
 
SpscChunkedArrayQueue<E> - Class in org.jctools.queues
 
SpscChunkedArrayQueue(int) - Constructor for class org.jctools.queues.SpscChunkedArrayQueue
 
SpscChunkedArrayQueue(int, int) - Constructor for class org.jctools.queues.SpscChunkedArrayQueue
 
SpscChunkedAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicLinkedQueueGenerator which can found in the jctools-build module.
SpscChunkedAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.SpscChunkedAtomicArrayQueue
 
SpscChunkedAtomicArrayQueue(int, int) - Constructor for class org.jctools.queues.atomic.SpscChunkedAtomicArrayQueue
 
SpscGrowableArrayQueue<E> - Class in org.jctools.queues
 
SpscGrowableArrayQueue(int) - Constructor for class org.jctools.queues.SpscGrowableArrayQueue
 
SpscGrowableArrayQueue(int, int) - Constructor for class org.jctools.queues.SpscGrowableArrayQueue
 
SpscGrowableAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicLinkedQueueGenerator which can found in the jctools-build module.
SpscGrowableAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.SpscGrowableAtomicArrayQueue
 
SpscGrowableAtomicArrayQueue(int, int) - Constructor for class org.jctools.queues.atomic.SpscGrowableAtomicArrayQueue
 
SpscLinkedAtomicQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicLinkedQueueGenerator which can found in the jctools-build module.
SpscLinkedAtomicQueue() - Constructor for class org.jctools.queues.atomic.SpscLinkedAtomicQueue
 
SpscLinkedQueue<E> - Class in org.jctools.queues
This is a weakened version of the MPSC algorithm as presented on 1024 Cores by D.
SpscLinkedQueue() - Constructor for class org.jctools.queues.SpscLinkedQueue
 
SpscUnboundedArrayQueue<E> - Class in org.jctools.queues
 
SpscUnboundedArrayQueue(int) - Constructor for class org.jctools.queues.SpscUnboundedArrayQueue
 
SpscUnboundedAtomicArrayQueue<E> - Class in org.jctools.queues.atomic
NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicLinkedQueueGenerator which can found in the jctools-build module.
SpscUnboundedAtomicArrayQueue(int) - Constructor for class org.jctools.queues.atomic.SpscUnboundedAtomicArrayQueue
 
spValue(E) - Method in class org.jctools.queues.atomic.LinkedQueueAtomicNode
 
SUPPORTS_GET_AND_SET - Static variable in class org.jctools.util.UnsafeAccess
 

T

THROUGHPUT - org.jctools.queues.spec.Preference
 
TOMBSTONE - Static variable in class org.jctools.maps.NonBlockingHashMap
 
toString() - Method in class org.jctools.maps.ConcurrentAutoTable
Return the counter's long value converted to a string.
toString() - Method in class org.jctools.maps.NonBlockingHashMap
Returns a string representation of this map.
toString() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Returns a string representation of this map.
toString() - Method in class org.jctools.queues.atomic.BaseMpscLinkedAtomicArrayQueue
 
toString() - Method in class org.jctools.queues.BaseMpscLinkedArrayQueue
 
toString() - Method in class org.jctools.queues.ConcurrentCircularArrayQueue
 
toString() - Method in class org.jctools.queues.MpscCompoundQueue
 

U

UNBOUNDED_CAPACITY - Static variable in interface org.jctools.queues.MessagePassingQueue
 
UNSAFE - Static variable in class org.jctools.util.UnsafeAccess
 
UnsafeAccess - Class in org.jctools.util
Why should we resort to using Unsafe?
To construct class fields which allow volatile/ordered/plain access: This requirement is covered by AtomicReferenceFieldUpdater and similar but their performance is arguably worse than the DIY approach (depending on JVM version) while Unsafe intrinsification is a far lesser challenge for JIT compilers.
UnsafeAccess() - Constructor for class org.jctools.util.UnsafeAccess
 
UnsafeJvmInfo - Interface in org.jctools.util
 
UnsafeRefArrayAccess - Class in org.jctools.util
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.
UnsafeRefArrayAccess() - Constructor for class org.jctools.util.UnsafeRefArrayAccess
 

V

valueOf(String) - Static method in enum org.jctools.queues.spec.Ordering
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jctools.queues.spec.Preference
Returns the enum constant of this type with the specified name.
values() - Method in class org.jctools.maps.NonBlockingHashMap
Returns a Collection view of the values contained in this map.
values() - Method in class org.jctools.maps.NonBlockingHashMapLong
Returns a Collection view of the values contained in this map.
values() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
Returns a Collection view of the values contained in this map.
values() - Static method in enum org.jctools.queues.spec.Ordering
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jctools.queues.spec.Preference
Returns an array containing the constants of this enum type, in the order they are declared.

W

weakOffer(E) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
Deprecated.
This was renamed to failFastOffer please migrate

X

xchgProducerNode(LinkedQueueNode<E>) - Method in class org.jctools.queues.MpscLinkedQueue
 
xchgProducerNode(LinkedQueueNode<E>) - Method in class org.jctools.queues.MpscLinkedQueue7
 
xchgProducerNode(LinkedQueueNode<E>) - Method in class org.jctools.queues.MpscLinkedQueue8
 
A B C D E F G H I K L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2013–2017. All rights reserved.