A C D E F G H I K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(T) - Method in interface org.jctools.queues.MessagePassingQueue.Consumer
-
This method will process an element already removed from the queue.
- accumulateAndGet(long, LongBinaryOperator) - Method in class org.jctools.util.PaddedAtomicLong
- add(int) - Method in class org.jctools.maps.NonBlockingSetInt
-
Add
ito 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
oto the set. - add(Integer) - Method in class org.jctools.maps.NonBlockingSetInt
-
Add
ito the set. - addAndGet(long) - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically adds to current value te given value.
- align(long, int) - Static method in class org.jctools.util.Pow2
-
Align a value to the next multiple up of alignment.
- allocateLongArray(int) - Static method in class org.jctools.util.UnsafeLongArrayAccess
-
This makes for an easier time generating the atomic queues, and removes some warnings.
- allocateRefArray(int) - Static method in class org.jctools.util.UnsafeRefArrayAccess
-
This makes for an easier time generating the atomic queues, and removes some warnings.
- 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.MpscChunkedArrayQueue
- availableInQueue(long, long) - Method in class org.jctools.queues.MpscUnboundedArrayQueue
- availableInQueue(long, long) - Method in class org.jctools.queues.unpadded.MpscChunkedUnpaddedArrayQueue
- availableInQueue(long, long) - Method in class org.jctools.queues.unpadded.MpscUnboundedUnpaddedArrayQueue
C
- CACHE_LINE_SIZE - Static variable in interface org.jctools.util.PortableJvmInfo
- calcCircularLongElementOffset(long, long) - Static method in class org.jctools.util.UnsafeLongArrayAccess
-
Note: circular arrays are assumed a power of 2 in length and the `mask` is (length - 1).
- calcCircularRefElementOffset(long, long) - Static method in class org.jctools.util.UnsafeRefArrayAccess
-
Note: circular arrays are assumed a power of 2 in length and the `mask` is (length - 1).
- calcLongElementOffset(long) - Static method in class org.jctools.util.UnsafeLongArrayAccess
- calcRefElementOffset(long) - Static method in class org.jctools.util.UnsafeRefArrayAccess
- 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 interface org.jctools.queues.IndexedQueueSizeUtil.IndexedQueue
- capacity() - Method in interface org.jctools.queues.MessagePassingQueue
- capacity() - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- 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
- capacity() - Method in class org.jctools.queues.unpadded.MpscChunkedUnpaddedArrayQueue
- capacity() - Method in class org.jctools.queues.unpadded.MpscUnboundedUnpaddedArrayQueue
- capacity() - Method in class org.jctools.queues.unpadded.SpscChunkedUnpaddedArrayQueue
- capacity() - Method in class org.jctools.queues.unpadded.SpscGrowableUnpaddedArrayQueue
- capacity() - Method in class org.jctools.queues.unpadded.SpscUnboundedUnpaddedArrayQueue
- 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
- 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 interface org.jctools.queues.MessagePassingQueue
-
Removes all items from the queue.
- clear(boolean) - Method in class org.jctools.maps.NonBlockingHashMapLong
- clone() - Method in class org.jctools.maps.NonBlockingHashMap
-
Creates a shallow copy of this hashtable.
- clone() - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Creates a shallow copy of this hashtable.
- clone() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
-
Creates a shallow copy of this hashtable.
- compareAndSet(long, long) - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically sets the value to the given updated value if the current value
==the expected value. - computeLookAheadStep(int) - Static method in class org.jctools.util.SpscLookAheadUtil
- 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
- ConcurrentSequencedCircularArrayQueue<E> - Class in org.jctools.queues
- ConcurrentSequencedCircularArrayQueue(int) - Constructor for class org.jctools.queues.ConcurrentSequencedCircularArrayQueue
- ConcurrentSequencedCircularUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- ConcurrentSequencedCircularUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.ConcurrentSequencedCircularUnpaddedArrayQueue
- contains(int) - Method in class org.jctools.maps.NonBlockingSetInt
-
Test if
iis 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
ois 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
-
Auto-boxing version of
NonBlockingHashMapLong.containsKey(long). - 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.
- Counter - Interface in org.jctools.counters
-
Base counter interface.
- CountersFactory - Class in org.jctools.counters
- CPUs - Static variable in interface org.jctools.util.PortableJvmInfo
- createFixedSizeStripedCounter(int) - Static method in class org.jctools.counters.CountersFactory
- createFixedSizeStripedCounterV6(int) - Static method in class org.jctools.counters.CountersFactory
- createFixedSizeStripedCounterV8(int) - Static method in class org.jctools.counters.CountersFactory
- currentConsumerIndex() - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- currentConsumerIndex() - Method in interface org.jctools.queues.QueueProgressIndicators
-
This method has no concurrent visibility semantics.
- currentProducerIndex() - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- currentProducerIndex() - Method in interface org.jctools.queues.QueueProgressIndicators
-
This method has no concurrent visibility semantics.
D
- decrement() - Method in class org.jctools.maps.ConcurrentAutoTable
-
ConcurrentAutoTable.add(long)with -1 - decrementAndGet() - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically decrements the current value by one.
- doubleValue() - Method in class org.jctools.util.PaddedAtomicLong
-
Returns the value of a
double. - 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.MpmcArrayQueue
- drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.MpscArrayQueue
- drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- 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>) - Method in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.unpadded.MpscUnboundedUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.unpadded.SpmcUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>) - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
- 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.MpmcArrayQueue
- drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.MpscArrayQueue
- drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.MpscCompoundQueue
- drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.MpscUnboundedXaddArrayQueue
- 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>, int) - Method in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.unpadded.SpmcUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>, int) - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>, int, long, TimeUnit) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
-
Remove up to limit elements from the queue and hand to consume, waiting up to the specified wait time if necessary for an element to become available.
- 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.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.MpscBlockingConsumerArrayQueue
- 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<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.unpadded.SpmcUnpaddedArrayQueue
- drain(MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
- 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<E>, MessagePassingQueue.Consumer<E>) - Static method in class org.jctools.queues.MessagePassingQueueUtil
- drain(MessagePassingQueue<E>, MessagePassingQueue.Consumer<E>, int) - Static method in class org.jctools.queues.MessagePassingQueueUtil
- drain(MessagePassingQueue<E>, MessagePassingQueue.Consumer<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Static method in class org.jctools.queues.MessagePassingQueueUtil
- drainTo(Collection<? super E>) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- drainTo(Collection<? super E>, int) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
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
Setview of the mappings contained in this map. - entrySet() - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Returns a
Setview of the mappings contained in this map. - entrySet() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
-
Returns a
Setview of the mappings contained in this map. - estimate_get() - Method in class org.jctools.maps.ConcurrentAutoTable
-
A cheaper
ConcurrentAutoTable.get().
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.
- failFastOffer(E) - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
-
A wait free alternative to offer which fails on CAS failure.
- fieldOffset(Class, String) - Static method in class org.jctools.util.UnsafeAccess
- 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.atomic.SpscUnboundedAtomicArrayQueue
- 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.MpscBlockingConsumerArrayQueue
- 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.MpscUnboundedXaddArrayQueue
- 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>) - Method in class org.jctools.queues.SpscUnboundedArrayQueue
- fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.unpadded.MpscLinkedUnpaddedQueue
- fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.unpadded.MpscUnboundedUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.unpadded.SpmcUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.unpadded.SpscLinkedUnpaddedQueue
- fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.unpadded.SpscUnboundedUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>) - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
- 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.MpmcArrayQueue
- fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.MpmcUnboundedXaddArrayQueue
- fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.MpscArrayQueue
- fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- 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.MpscUnboundedXaddArrayQueue
- 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>, int) - Method in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.unpadded.MpscLinkedUnpaddedQueue
- fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.unpadded.SpmcUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.unpadded.SpscLinkedUnpaddedQueue
- fill(MessagePassingQueue.Supplier<E>, int) - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
- 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.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.MpscBlockingConsumerArrayQueue
- 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<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.unpadded.MpscLinkedUnpaddedQueue
- fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.unpadded.SpmcUnpaddedArrayQueue
- fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.unpadded.SpscLinkedUnpaddedQueue
- fill(MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
- 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.
- fill(MessagePassingQueue<E>, MessagePassingQueue.Supplier<E>, MessagePassingQueue.WaitStrategy, MessagePassingQueue.ExitCondition) - Static method in class org.jctools.queues.MessagePassingQueueUtil
- fillBounded(MessagePassingQueue<E>, MessagePassingQueue.Supplier<E>) - Static method in class org.jctools.queues.MessagePassingQueueUtil
- fillInBatchesToLimit(MessagePassingQueue<E>, MessagePassingQueue.Supplier<E>, int, int) - Static method in class org.jctools.queues.MessagePassingQueueUtil
- fillUnbounded(MessagePassingQueue<E>, MessagePassingQueue.Supplier<E>) - Static method in class org.jctools.queues.MessagePassingQueueUtil
- FixedSizeStripedLongCounter - Class in org.jctools.counters
- FixedSizeStripedLongCounter(int) - Constructor for class org.jctools.counters.FixedSizeStripedLongCounter
- floatValue() - Method in class org.jctools.util.PaddedAtomicLong
-
Returns the value of a
float.
G
- get() - Method in interface org.jctools.counters.Counter
- get() - Method in class org.jctools.counters.FixedSizeStripedLongCounter
- 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() - Method in class org.jctools.util.PaddedAtomicLong
-
Gets the current value.
- get(long) - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Returns the value to which the specified key is mapped, or
nullif 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
nullif 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
nullif this map contains no mapping for the key. - getAndAccumulate(long, LongBinaryOperator) - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically updates the current value with the results of applying the given function to the current and given values, returning the previous value.
- getAndAdd(long) - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically adds to the current value the given value.
- getAndDecrement() - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically decrements the current value by 1.
- getAndIncrement() - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically increments the current value by 1.
- getAndNullValue() - Method in class org.jctools.queues.atomic.LinkedQueueAtomicNode
-
Gets the current value and nulls out the reference to it from this node.
- getAndNullValue() - Method in class org.jctools.queues.LinkedQueueNode
-
Gets the current value and nulls out the reference to it from this node.
- getAndReset() - Method in interface org.jctools.counters.Counter
- getAndReset() - Method in class org.jctools.counters.FixedSizeStripedLongCounter
- getAndReset(long[], long) - Method in class org.jctools.counters.FixedSizeStripedLongCounter
- getAndSet(long) - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically sets to the given value and returns the old value.
- getAndUpdate(LongUnaryOperator) - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically updates the current value with the results of applying the given function, returning the previous value.
- 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.MpscChunkedArrayQueue
- getCurrentBufferCapacity(long) - Method in class org.jctools.queues.MpscGrowableArrayQueue
- getCurrentBufferCapacity(long) - Method in class org.jctools.queues.MpscUnboundedArrayQueue
- getCurrentBufferCapacity(long) - Method in class org.jctools.queues.unpadded.MpscChunkedUnpaddedArrayQueue
- getCurrentBufferCapacity(long) - Method in class org.jctools.queues.unpadded.MpscGrowableUnpaddedArrayQueue
- getCurrentBufferCapacity(long) - Method in class org.jctools.queues.unpadded.MpscUnboundedUnpaddedArrayQueue
- getk(TypeK) - Method in class org.jctools.maps.NonBlockingHashMap
-
Returns the Key to which the specified key is mapped, or
nullif this map contains no mapping for the key. - 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(E[]) - Method in class org.jctools.queues.unpadded.MpscChunkedUnpaddedArrayQueue
- getNextBufferSize(E[]) - Method in class org.jctools.queues.unpadded.MpscGrowableUnpaddedArrayQueue
- getNextBufferSize(E[]) - Method in class org.jctools.queues.unpadded.MpscUnboundedUnpaddedArrayQueue
- 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.
- IGNORE_PARITY_DIVISOR - Static variable in class org.jctools.queues.IndexedQueueSizeUtil
- inc() - Method in interface org.jctools.counters.Counter
- inc() - Method in class org.jctools.counters.FixedSizeStripedLongCounter
- inc(long) - Method in interface org.jctools.counters.Counter
- inc(long) - Method in class org.jctools.counters.FixedSizeStripedLongCounter
- inc(long[], long, long) - Method in class org.jctools.counters.FixedSizeStripedLongCounter
- increment() - Method in class org.jctools.maps.ConcurrentAutoTable
-
ConcurrentAutoTable.add(long)with +1 - incrementAndGet() - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically increments the current value by one.
- IndexedQueueSizeUtil - Class in org.jctools.queues
-
A note to maintainers on index assumptions: in a single threaded world it would seem intuitive to assume:
- 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. - intValue() - Method in class org.jctools.util.PaddedAtomicLong
-
Returns the value as an
int. - 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 interface org.jctools.queues.MessagePassingQueue
-
This method's accuracy is subject to concurrent modifications happening as the observation is carried out.
- isEmpty() - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- isEmpty(IndexedQueueSizeUtil.IndexedQueue) - Static method in class org.jctools.queues.IndexedQueueSizeUtil
- isPooled() - Method in class org.jctools.queues.MpUnboundedXaddChunk
- isPowerOfTwo(int) - Static method in class org.jctools.util.Pow2
- 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.MpscBlockingConsumerArrayQueue
- 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
Setview of the keys contained in this map. - keySet() - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Returns a
Setview 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
Setview of the keys contained in this map. - keySetLong() - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Keys as a long array.
L
- lazySet(long) - Method in class org.jctools.util.PaddedAtomicLong
-
Eventually sets to the given value.
- length() - Method in class org.jctools.maps.NonBlockingSetInt
-
Approx largest element in set; at least as big (but max might be smaller).
- length(Object[]) - Static method in class org.jctools.queues.LinkedArrayQueueUtil
- LinkedArrayQueueUtil - Class in org.jctools.queues
-
This is used for method substitution in the LinkedArray classes code generation.
- LinkedArrayQueueUtil() - Constructor for class org.jctools.queues.LinkedArrayQueueUtil
- LinkedQueueAtomicNode<E> - Class in org.jctools.queues.atomic
- LinkedQueueNode<E> - Class in org.jctools.queues
- LinkedQueueNode() - Constructor for class org.jctools.queues.LinkedQueueNode
- LinkedQueueNode(E) - Constructor for class org.jctools.queues.LinkedQueueNode
- LONG_ARRAY_BASE - Static variable in class org.jctools.util.UnsafeLongArrayAccess
- LONG_ELEMENT_SHIFT - Static variable in class org.jctools.util.UnsafeLongArrayAccess
- longValue() - Method in class org.jctools.maps.ConcurrentAutoTable
-
Same as
ConcurrentAutoTable.get(), included for completeness. - longValue() - Method in class org.jctools.util.PaddedAtomicLong
-
Returns the value as a
long. - lpLongElement(long[], long) - Static method in class org.jctools.util.UnsafeLongArrayAccess
-
A plain load (no ordering/fences) of an element from a given offset.
- lpRefElement(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
- lpValue() - Method in class org.jctools.queues.LinkedQueueNode
- lvConsumerIndex() - Method in interface org.jctools.queues.IndexedQueueSizeUtil.IndexedQueue
- lvElement(int) - Method in class org.jctools.queues.MpUnboundedXaddChunk
- lvIndex() - Method in class org.jctools.queues.MpUnboundedXaddChunk
- lvLongElement(long[], long) - Static method in class org.jctools.util.UnsafeLongArrayAccess
-
A volatile load of an element from a given offset.
- lvNext() - Method in class org.jctools.queues.atomic.LinkedQueueAtomicNode
- lvNext() - Method in class org.jctools.queues.LinkedQueueNode
- lvNext() - Method in class org.jctools.queues.MpUnboundedXaddChunk
- lvPrev() - Method in class org.jctools.queues.MpUnboundedXaddChunk
- lvProducerIndex() - Method in interface org.jctools.queues.IndexedQueueSizeUtil.IndexedQueue
- lvRefElement(E[], long) - Static method in class org.jctools.util.UnsafeRefArrayAccess
-
A volatile load of an element from a given offset.
- lvSequence(int) - Method in class org.jctools.queues.MpmcUnboundedXaddChunk
M
- MAX_LOOK_AHEAD_STEP - Static variable in class org.jctools.queues.atomic.MpmcAtomicArrayQueue
- MAX_LOOK_AHEAD_STEP - Static variable in class org.jctools.queues.MpmcArrayQueue
- MAX_LOOK_AHEAD_STEP - Static variable in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- MAX_LOOK_AHEAD_STEP - Static variable in class org.jctools.util.SpscLookAheadUtil
- MAX_POW2 - Static variable in class org.jctools.util.Pow2
- MessagePassingQueue<T> - Interface in org.jctools.queues
-
Message passing queues are intended for concurrent method passing.
- 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
- MessagePassingQueueUtil() - Constructor for class org.jctools.queues.MessagePassingQueueUtil
- modifiedCalcCircularRefElementOffset(long, long) - Static method in class org.jctools.queues.LinkedArrayQueueUtil
-
This method assumes index is actually (index << 1) because lower bit is used for resize.
- 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
- MpmcUnboundedXaddArrayQueue<E> - Class in org.jctools.queues
-
An MPMC array queue which grows unbounded in linked chunks.
Differently fromMpmcArrayQueueit is designed to provide a better scaling when more producers are concurrently offering.
Users should be aware thatMpmcUnboundedXaddArrayQueue.poll()could spin while awaiting a new element to be available: to avoid this behaviourMpmcUnboundedXaddArrayQueue.relaxedPoll()should be used instead, accounting for the semantic differences between the twos. - MpmcUnboundedXaddArrayQueue(int) - Constructor for class org.jctools.queues.MpmcUnboundedXaddArrayQueue
- MpmcUnboundedXaddArrayQueue(int, int) - Constructor for class org.jctools.queues.MpmcUnboundedXaddArrayQueue
- MpmcUnboundedXaddChunk<E> - Class in org.jctools.queues
- MpmcUnboundedXaddChunk(long, MpmcUnboundedXaddChunk<E>, int, boolean) - Constructor for class org.jctools.queues.MpmcUnboundedXaddChunk
- MpmcUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- MpmcUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- 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
- MpscBlockingConsumerArrayQueue<E> - Class in org.jctools.queues
-
This is a partial implementation of the
BlockingQueueon the consumer side only on top of the mechanics described inBaseMpscLinkedArrayQueue, but with the reservation bit used for blocking rather than resizing in this instance. - MpscBlockingConsumerArrayQueue(int) - Constructor for class org.jctools.queues.MpscBlockingConsumerArrayQueue
- 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
- MpscChunkedUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- MpscChunkedUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.MpscChunkedUnpaddedArrayQueue
- MpscChunkedUnpaddedArrayQueue(int, int) - Constructor for class org.jctools.queues.unpadded.MpscChunkedUnpaddedArrayQueue
- 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, doubling theirs size every time until the full blown backing array is used.
- 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
- MpscGrowableUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- MpscGrowableUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.MpscGrowableUnpaddedArrayQueue
- MpscGrowableUnpaddedArrayQueue(int, int) - Constructor for class org.jctools.queues.unpadded.MpscGrowableUnpaddedArrayQueue
- 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 Java port of the MPSC algorithm as presented on 1024 Cores by D.
- MpscLinkedQueue() - Constructor for class org.jctools.queues.MpscLinkedQueue
- MpscLinkedUnpaddedQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- MpscLinkedUnpaddedQueue() - Constructor for class org.jctools.queues.unpadded.MpscLinkedUnpaddedQueue
- MpscUnboundedArrayQueue<E> - Class in org.jctools.queues
-
An MPSC array queue which starts at initialCapacity and grows indefinitely 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
- MpscUnboundedUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- MpscUnboundedUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.MpscUnboundedUnpaddedArrayQueue
- MpscUnboundedXaddArrayQueue<E> - Class in org.jctools.queues
-
An MPSC array queue which grows unbounded in linked chunks.
Differently fromMpscUnboundedArrayQueueit is designed to provide a better scaling when more producers are concurrently offering.
Users should be aware thatMpscUnboundedXaddArrayQueue.poll()could spin while awaiting a new element to be available: to avoid this behaviourMpscUnboundedXaddArrayQueue.relaxedPoll()should be used instead, accounting for the semantic differences between the twos. - MpscUnboundedXaddArrayQueue(int) - Constructor for class org.jctools.queues.MpscUnboundedXaddArrayQueue
- MpscUnboundedXaddArrayQueue(int, int) - Constructor for class org.jctools.queues.MpscUnboundedXaddArrayQueue
- MpscUnboundedXaddChunk<E> - Class in org.jctools.queues
- MpscUnboundedXaddChunk(long, MpscUnboundedXaddChunk<E>, int, boolean) - Constructor for class org.jctools.queues.MpscUnboundedXaddChunk
- MpscUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- MpscUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
- MpUnboundedXaddChunk<R,E> - Class in org.jctools.queues
- MpUnboundedXaddChunk(long, R, int, boolean) - Constructor for class org.jctools.queues.MpUnboundedXaddChunk
N
- next() - Method in class org.jctools.maps.NonBlockingHashMapLong.IteratorLong
-
Auto-box and return the next key.
- nextArrayOffset(Object[]) - Static method in class org.jctools.queues.LinkedArrayQueueUtil
- 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
ConcurrentHashMapwith 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
ConcurrentHashMapwith 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
IteratorandEnumerationinterfaces, generified to theLongclass and supporting a non-auto-boxingNonBlockingHashMapLong.IteratorLong.nextLong()function. - NonBlockingHashSet<E> - Class in org.jctools.maps
-
A simple wrapper around
NonBlockingHashMapmaking it implement theSetinterface. - 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
ConcurrentHashMapwith 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
- NOT_USED - Static variable in class org.jctools.queues.MpUnboundedXaddChunk
O
- 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.MpmcArrayQueue
- offer(E) - Method in class org.jctools.queues.MpmcUnboundedXaddArrayQueue
- 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.MpscBlockingConsumerArrayQueue
- 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.MpscUnboundedXaddArrayQueue
- 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(E) - Method in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- offer(E) - Method in class org.jctools.queues.unpadded.MpscLinkedUnpaddedQueue
-
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.unpadded.MpscUnpaddedArrayQueue
-
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.unpadded.SpmcUnpaddedArrayQueue
- offer(E) - Method in class org.jctools.queues.unpadded.SpscLinkedUnpaddedQueue
-
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.unpadded.SpscUnpaddedArrayQueue
-
Called from a producer thread subject to the restrictions appropriate to the implementation and according to the
Queue.offer(Object)interface. - offer(E, long, TimeUnit) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- 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)} ifMessagePassingQueue.size()is less than threshold. - offerIfBelowThreshold(E, int) - Method in class org.jctools.queues.MpscArrayQueue
-
MpscArrayQueue.offer(E)} ifMessagePassingQueue.size()is less than threshold. - offerIfBelowThreshold(E, int) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
-
MpscBlockingConsumerArrayQueue.offer(E)ifMpscBlockingConsumerArrayQueue.size()is less than threshold. - offerIfBelowThreshold(E, int) - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
-
MpscUnpaddedArrayQueue.offer(E)} ifMessagePassingQueue.size()is less than threshold. - org.jctools.counters - package org.jctools.counters
- 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 isConcurrentLinkedQueuewhich is an unbounded multi-producer, multi-consumer queue which is further encumbered by the need to implement the full range ofQueuemethods. - org.jctools.queues.atomic - package org.jctools.queues.atomic
- org.jctools.queues.unpadded - package org.jctools.queues.unpadded
- org.jctools.util - package org.jctools.util
P
- PaddedAtomicLong - Class in org.jctools.util
-
A padded version of the
AtomicLong. - PaddedAtomicLong() - Constructor for class org.jctools.util.PaddedAtomicLong
-
Creates a new PaddedAtomicLong with initial value
0. - PaddedAtomicLong(long) - Constructor for class org.jctools.util.PaddedAtomicLong
-
Creates a new PaddedAtomicLong with the given initial value.
- PAGE_SIZE - Static variable in interface org.jctools.util.UnsafeJvmInfo
- 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.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 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.MpmcUnboundedXaddArrayQueue
- 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.MpscBlockingConsumerArrayQueue
-
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.MpscUnboundedXaddArrayQueue
- 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.unpadded.MpmcUnpaddedArrayQueue
- peek() - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
-
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.unpadded.SpmcUnpaddedArrayQueue
- peek() - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
-
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the
Queue.peek()interface. - PLAIN_DIVISOR - Static variable in class org.jctools.queues.IndexedQueueSizeUtil
- 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.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 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.MpmcUnboundedXaddArrayQueue
- 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.MpscBlockingConsumerArrayQueue
-
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.MpscUnboundedXaddArrayQueue
- 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.unpadded.MpmcUnpaddedArrayQueue
-
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.unpadded.MpscUnpaddedArrayQueue
-
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.unpadded.SpmcUnpaddedArrayQueue
- poll() - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
-
Called from the consumer thread subject to the restrictions appropriate to the implementation and according to the
Queue.poll()interface. - poll(long, TimeUnit) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- 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
- 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.
- put(long, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Maps the specified key to the specified value in the table.
- put(E) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- put(Long, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Auto-boxing version of
NonBlockingHashMapLong.put(long, TypeV). - 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
-
Auto-boxing version of
NonBlockingHashMapLong.putIfAbsent(long, TypeV). - 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
- 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.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.MpmcArrayQueue
- relaxedOffer(E) - Method in class org.jctools.queues.MpscArrayQueue
- relaxedOffer(E) - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- 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(E) - Method in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- relaxedOffer(E) - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
- relaxedOffer(E) - Method in class org.jctools.queues.unpadded.SpmcUnpaddedArrayQueue
- relaxedOffer(E) - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
- 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.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 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.MpmcUnboundedXaddArrayQueue
- relaxedPeek() - Method in class org.jctools.queues.MpscArrayQueue
- relaxedPeek() - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- relaxedPeek() - Method in class org.jctools.queues.MpscCompoundQueue
- relaxedPeek() - Method in class org.jctools.queues.MpscUnboundedXaddArrayQueue
- relaxedPeek() - Method in class org.jctools.queues.SpmcArrayQueue
- relaxedPeek() - Method in class org.jctools.queues.SpscArrayQueue
- relaxedPeek() - Method in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- relaxedPeek() - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
- relaxedPeek() - Method in class org.jctools.queues.unpadded.SpmcUnpaddedArrayQueue
- relaxedPeek() - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
- 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 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.MpmcUnboundedXaddArrayQueue
- relaxedPoll() - Method in class org.jctools.queues.MpscArrayQueue
- relaxedPoll() - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- relaxedPoll() - Method in class org.jctools.queues.MpscCompoundQueue
- relaxedPoll() - Method in class org.jctools.queues.MpscUnboundedXaddArrayQueue
- relaxedPoll() - Method in class org.jctools.queues.SpmcArrayQueue
- relaxedPoll() - Method in class org.jctools.queues.SpscArrayQueue
- relaxedPoll() - Method in class org.jctools.queues.unpadded.MpmcUnpaddedArrayQueue
- relaxedPoll() - Method in class org.jctools.queues.unpadded.MpscUnpaddedArrayQueue
- relaxedPoll() - Method in class org.jctools.queues.unpadded.SpmcUnpaddedArrayQueue
- relaxedPoll() - Method in class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
- remainingCapacity() - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- remove() - Method in class org.jctools.maps.NonBlockingHashMapLong.IteratorLong
-
Remove last key returned by
NonBlockingHashMapLong.IteratorLong.next()orNonBlockingHashMapLong.IteratorLong.nextLong(). - remove(int) - Method in class org.jctools.maps.NonBlockingSetInt
-
Remove
ifrom 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 isequalsto 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
ofrom 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
ofrom the set. - remove(Object) - Method in class org.jctools.queues.atomic.MpscLinkedAtomicQueue
- remove(Object) - Method in class org.jctools.queues.MpscLinkedQueue
- remove(Object) - Method in class org.jctools.queues.unpadded.MpscLinkedUnpaddedQueue
- 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 isequalsto the given value. - remove(Object, Object) - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Auto-boxing version of
NonBlockingHashMapLong.remove(long,Object). - 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 isequalsto 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 isequalstooldValue. - replace(Long, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Auto-boxing version of
NonBlockingHashMapLong.replace(long, TypeV). - replace(Long, TypeV, TypeV) - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Auto-boxing version of
NonBlockingHashMapLong.replace(long, TypeV). - 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 isequalstooldValue. - 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 isequalstooldValue. - reprobes() - Method in class org.jctools.maps.NonBlockingHashMap
-
Get and clear the current count of reprobes.
- reprobes() - Method in class org.jctools.maps.NonBlockingHashMapLong
-
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
- sanitizedSize(int, long) - Static method in class org.jctools.queues.IndexedQueueSizeUtil
- sequenceBuffer - Variable in class org.jctools.queues.ConcurrentSequencedCircularArrayQueue
- sequenceBuffer - Variable in class org.jctools.queues.unpadded.ConcurrentSequencedCircularUnpaddedArrayQueue
- set(long) - Method in class org.jctools.maps.ConcurrentAutoTable
-
Atomically set the sum of the striped counters to specified value.
- set(long) - Method in class org.jctools.util.PaddedAtomicLong
-
Sets to the given 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 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.MpscBlockingConsumerArrayQueue
- size() - Method in class org.jctools.queues.MpscCompoundQueue
- size(IndexedQueueSizeUtil.IndexedQueue, int) - Static method in class org.jctools.queues.IndexedQueueSizeUtil
- soElement(int, E) - Method in class org.jctools.queues.MpUnboundedXaddChunk
- soIndex(long) - Method in class org.jctools.queues.MpUnboundedXaddChunk
- soLongElement(long[], long, long) - Static method in class org.jctools.util.UnsafeLongArrayAccess
-
An ordered store of an element to a given offset
- soNext(LinkedQueueAtomicNode<E>) - Method in class org.jctools.queues.atomic.LinkedQueueAtomicNode
- soNext(LinkedQueueNode<E>) - Method in class org.jctools.queues.LinkedQueueNode
- soNext(R) - Method in class org.jctools.queues.MpUnboundedXaddChunk
- soPrev(R) - Method in class org.jctools.queues.MpUnboundedXaddChunk
- soRefElement(E[], long, E) - Static method in class org.jctools.util.UnsafeRefArrayAccess
-
An ordered store of an element to a given offset
- soSequence(int, long) - Method in class org.jctools.queues.MpmcUnboundedXaddChunk
- spinForElement(int, boolean) - Method in class org.jctools.queues.MpUnboundedXaddChunk
- spinForSequence(int, long) - Method in class org.jctools.queues.MpmcUnboundedXaddChunk
- spLongElement(long[], long, long) - Static method in class org.jctools.util.UnsafeLongArrayAccess
-
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
- SpmcUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- SpmcUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.SpmcUnpaddedArrayQueue
- spNext(LinkedQueueAtomicNode<E>) - Method in class org.jctools.queues.atomic.LinkedQueueAtomicNode
- spNext(LinkedQueueNode<E>) - Method in class org.jctools.queues.LinkedQueueNode
- spRefElement(E[], long, E) - Static method in class org.jctools.util.UnsafeRefArrayAccess
-
A plain store (no ordering/fences) of an element to a given offset
- 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
-
An SPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks of the initial size.
- 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
- SpscChunkedUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- SpscChunkedUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.SpscChunkedUnpaddedArrayQueue
- SpscChunkedUnpaddedArrayQueue(int, int) - Constructor for class org.jctools.queues.unpadded.SpscChunkedUnpaddedArrayQueue
- SpscGrowableArrayQueue<E> - Class in org.jctools.queues
-
An SPSC array queue which starts at initialCapacity and grows to maxCapacity in linked chunks, doubling theirs size every time until the full blown backing array is used.
- 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
- SpscGrowableUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- SpscGrowableUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.SpscGrowableUnpaddedArrayQueue
- SpscGrowableUnpaddedArrayQueue(int, int) - Constructor for class org.jctools.queues.unpadded.SpscGrowableUnpaddedArrayQueue
- 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
- SpscLinkedUnpaddedQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- SpscLinkedUnpaddedQueue() - Constructor for class org.jctools.queues.unpadded.SpscLinkedUnpaddedQueue
- SpscLookAheadUtil - Class in org.jctools.util
- SpscLookAheadUtil() - Constructor for class org.jctools.util.SpscLookAheadUtil
- SpscUnboundedArrayQueue<E> - Class in org.jctools.queues
-
An SPSC array queue which starts at initialCapacity and grows indefinitely in linked chunks of the initial size.
- 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
- SpscUnboundedUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- SpscUnboundedUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.SpscUnboundedUnpaddedArrayQueue
- SpscUnpaddedArrayQueue<E> - Class in org.jctools.queues.unpadded
-
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator which can found in the jctools-build module.
- SpscUnpaddedArrayQueue(int) - Constructor for class org.jctools.queues.unpadded.SpscUnpaddedArrayQueue
- spValue(E) - Method in class org.jctools.queues.atomic.LinkedQueueAtomicNode
- spValue(E) - Method in class org.jctools.queues.LinkedQueueNode
- SUPPORTS_GET_AND_ADD_LONG - Static variable in class org.jctools.util.UnsafeAccess
- SUPPORTS_GET_AND_SET_REF - Static variable in class org.jctools.util.UnsafeAccess
- SupportsIterator - Interface in org.jctools.queues
-
Tagging interface to help testing
T
- take() - Method in class org.jctools.queues.MpscBlockingConsumerArrayQueue
- TOMBSTONE - Static variable in class org.jctools.maps.NonBlockingHashMap
- toString() - Method in class org.jctools.maps.ConcurrentAutoTable
-
Return the counter's
longvalue 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.MpscBlockingConsumerArrayQueue
- toString() - Method in class org.jctools.queues.MpscCompoundQueue
- toString() - Method in class org.jctools.util.PaddedAtomicLong
-
Returns the String representation of the current value.
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 byAtomicReferenceFieldUpdaterand 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
- UnsafeLongArrayAccess - Class in org.jctools.util
- UnsafeLongArrayAccess() - Constructor for class org.jctools.util.UnsafeLongArrayAccess
- UnsafeRefArrayAccess - Class in org.jctools.util
- UnsafeRefArrayAccess() - Constructor for class org.jctools.util.UnsafeRefArrayAccess
- updateAndGet(LongUnaryOperator) - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically updates the current value with the results of applying the given function, returning the updated value.
V
- values() - Method in class org.jctools.maps.NonBlockingHashMap
-
Returns a
Collectionview of the values contained in this map. - values() - Method in class org.jctools.maps.NonBlockingHashMapLong
-
Returns a
Collectionview of the values contained in this map. - values() - Method in class org.jctools.maps.NonBlockingIdentityHashMap
-
Returns a
Collectionview of the values contained in this map.
W
- weakCompareAndSet(long, long) - Method in class org.jctools.util.PaddedAtomicLong
-
Atomically sets the value to the given updated value if the current value
==the expected value. - weakOffer(E) - Method in class org.jctools.queues.atomic.MpscAtomicArrayQueue
-
Deprecated.This was renamed to failFastOffer please migrate
All Classes All Packages