Class BaseMpscLinkedAtomicUnpaddedArrayQueueProducerFields<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>
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.Queue<E>
,IndexedQueueSizeUtil.IndexedQueue
- Direct Known Subclasses:
BaseMpscLinkedAtomicUnpaddedArrayQueuePad2
abstract class BaseMpscLinkedAtomicUnpaddedArrayQueueProducerFields<E> extends BaseMpscLinkedAtomicUnpaddedArrayQueuePad1<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
Fields Modifier and Type Field Description private static java.util.concurrent.atomic.AtomicLongFieldUpdater<BaseMpscLinkedAtomicUnpaddedArrayQueueProducerFields>
P_INDEX_UPDATER
private long
producerIndex
-
Constructor Summary
Constructors Constructor Description BaseMpscLinkedAtomicUnpaddedArrayQueueProducerFields()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
casProducerIndex(long expect, long newValue)
long
lvProducerIndex()
(package private) 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 Detail
-
P_INDEX_UPDATER
private static final java.util.concurrent.atomic.AtomicLongFieldUpdater<BaseMpscLinkedAtomicUnpaddedArrayQueueProducerFields> P_INDEX_UPDATER
-
producerIndex
private volatile long producerIndex
-
-