Class BaseMpscLinkedAtomicUnpaddedArrayQueueConsumerFields<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
org.jctools.queues.atomic.unpadded.BaseMpscLinkedAtomicUnpaddedArrayQueuePad1<E>
org.jctools.queues.atomic.unpadded.BaseMpscLinkedAtomicUnpaddedArrayQueueProducerFields<E>
org.jctools.queues.atomic.unpadded.BaseMpscLinkedAtomicUnpaddedArrayQueuePad2<E>
org.jctools.queues.atomic.unpadded.BaseMpscLinkedAtomicUnpaddedArrayQueueConsumerFields<E>
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,Queue<E>
,IndexedQueueSizeUtil.IndexedQueue
- Direct Known Subclasses:
BaseMpscLinkedAtomicUnpaddedArrayQueuePad3
abstract class BaseMpscLinkedAtomicUnpaddedArrayQueueConsumerFields<E>
extends BaseMpscLinkedAtomicUnpaddedArrayQueuePad2<E>
NOTE: This class was automatically generated by org.jctools.queues.atomic.unpadded.JavaParsingAtomicUnpaddedLinkedQueueGenerator
which can found in the jctools-build module. The original source file is BaseMpscLinkedArrayQueue.java.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final AtomicLongFieldUpdater
<BaseMpscLinkedAtomicUnpaddedArrayQueueConsumerFields> protected AtomicReferenceArray
<E> private long
protected long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final long
final long
(package private) final void
soConsumerIndex
(long newValue) Methods inherited from class org.jctools.queues.atomic.unpadded.BaseMpscLinkedAtomicUnpaddedArrayQueueProducerFields
casProducerIndex, lvProducerIndex, soProducerIndex
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
Methods inherited from interface org.jctools.queues.IndexedQueueSizeUtil.IndexedQueue
capacity
-
Field Details
-
C_INDEX_UPDATER
private static final AtomicLongFieldUpdater<BaseMpscLinkedAtomicUnpaddedArrayQueueConsumerFields> C_INDEX_UPDATER -
consumerIndex
private volatile long consumerIndex -
consumerMask
protected long consumerMask -
consumerBuffer
-
-
Constructor Details
-
BaseMpscLinkedAtomicUnpaddedArrayQueueConsumerFields
BaseMpscLinkedAtomicUnpaddedArrayQueueConsumerFields()
-
-
Method Details
-
lvConsumerIndex
public final long lvConsumerIndex() -
lpConsumerIndex
final long lpConsumerIndex() -
soConsumerIndex
final void soConsumerIndex(long newValue)
-