Package org.jctools.queues.unpadded
Class BaseMpscLinkedUnpaddedArrayQueueProducerFields<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueuePad1<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueProducerFields<E>
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,Queue<E>
,IndexedQueueSizeUtil.IndexedQueue
- Direct Known Subclasses:
BaseMpscLinkedUnpaddedArrayQueuePad2
abstract class BaseMpscLinkedUnpaddedArrayQueueProducerFields<E>
extends BaseMpscLinkedUnpaddedArrayQueuePad1<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 long
private long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final boolean
casProducerIndex
(long expect, long newValue) final long
(package private) final void
soProducerIndex
(long newValue) 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, lvConsumerIndex
-
Field Details
-
P_INDEX_OFFSET
private static final long P_INDEX_OFFSET -
producerIndex
private volatile long producerIndex
-
-
Constructor Details
-
BaseMpscLinkedUnpaddedArrayQueueProducerFields
BaseMpscLinkedUnpaddedArrayQueueProducerFields()
-
-
Method Details
-
lvProducerIndex
public final long lvProducerIndex() -
soProducerIndex
final void soProducerIndex(long newValue) -
casProducerIndex
final boolean casProducerIndex(long expect, long newValue)
-