Package org.jctools.queues.unpadded
Class BaseMpscLinkedUnpaddedArrayQueueConsumerFields<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueuePad1<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueProducerFields<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueuePad2<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueConsumerFields<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Queue<E>,IndexedQueueSizeUtil.IndexedQueue
- Direct Known Subclasses:
BaseMpscLinkedUnpaddedArrayQueuePad3
abstract class BaseMpscLinkedUnpaddedArrayQueueConsumerFields<E>
extends BaseMpscLinkedUnpaddedArrayQueuePad2<E>
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator
which can found in the jctools-build module. The original source file is BaseMpscLinkedArrayQueue.java.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprotected E[]private longprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final longfinal long(package private) final voidsoConsumerIndex(long newValue) Methods inherited from class org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueProducerFields
casProducerIndex, lvProducerIndex, soProducerIndexMethods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface org.jctools.queues.IndexedQueueSizeUtil.IndexedQueue
capacity
-
Field Details
-
C_INDEX_OFFSET
private static final long C_INDEX_OFFSET -
consumerIndex
private volatile long consumerIndex -
consumerMask
protected long consumerMask -
consumerBuffer
-
-
Constructor Details
-
BaseMpscLinkedUnpaddedArrayQueueConsumerFields
BaseMpscLinkedUnpaddedArrayQueueConsumerFields()
-
-
Method Details
-
lvConsumerIndex
public final long lvConsumerIndex() -
lpConsumerIndex
final long lpConsumerIndex() -
soConsumerIndex
final void soConsumerIndex(long newValue)
-