Class SpmcAtomicUnpaddedArrayQueueProducerIndexCacheField<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
org.jctools.queues.atomic.AtomicReferenceArrayQueue<E>
org.jctools.queues.atomic.unpadded.SpmcAtomicUnpaddedArrayQueueL1Pad<E>
org.jctools.queues.atomic.unpadded.SpmcAtomicUnpaddedArrayQueueProducerIndexField<E>
org.jctools.queues.atomic.unpadded.SpmcAtomicUnpaddedArrayQueueL2Pad<E>
org.jctools.queues.atomic.unpadded.SpmcAtomicUnpaddedArrayQueueConsumerIndexField<E>
org.jctools.queues.atomic.unpadded.SpmcAtomicUnpaddedArrayQueueMidPad<E>
org.jctools.queues.atomic.unpadded.SpmcAtomicUnpaddedArrayQueueProducerIndexCacheField<E>
- All Implemented Interfaces:
Iterable<E>, Collection<E>, Queue<E>, IndexedQueueSizeUtil.IndexedQueue, MessagePassingQueue<E>, QueueProgressIndicators, SupportsIterator
- Direct Known Subclasses:
SpmcAtomicUnpaddedArrayQueueL3Pad
abstract class SpmcAtomicUnpaddedArrayQueueProducerIndexCacheField<E>
extends SpmcAtomicUnpaddedArrayQueueMidPad<E>
NOTE: This class was automatically generated by org.jctools.queues.atomic.unpadded.JavaParsingAtomicUnpaddedArrayQueueGenerator
which can found in the jctools-build module. The original source file is SpmcArrayQueue.java.
-
Nested Class Summary
Nested classes/interfaces inherited from interface MessagePassingQueue
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy -
Field Summary
FieldsFields inherited from class AtomicReferenceArrayQueue
buffer, maskFields inherited from interface MessagePassingQueue
UNBOUNDED_CAPACITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final longprotected final voidsvProducerIndexCache(long newValue) Methods inherited from class SpmcAtomicUnpaddedArrayQueueConsumerIndexField
casConsumerIndex, lvConsumerIndexMethods inherited from class SpmcAtomicUnpaddedArrayQueueProducerIndexField
lpProducerIndex, lvProducerIndex, soProducerIndexMethods inherited from class AtomicReferenceArrayQueue
capacity, clear, currentConsumerIndex, currentProducerIndex, isEmpty, iterator, size, toStringMethods inherited from class AbstractQueue
add, addAll, element, removeMethods inherited from class AbstractCollection
contains, containsAll, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Collection
contains, containsAll, equals, hashCode, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface MessagePassingQueue
drain, drain, drain, fill, fill, fill, offer, peek, poll, relaxedOffer, relaxedPeek, relaxedPoll
-
Field Details
-
producerIndexCache
private volatile long producerIndexCache
-
-
Constructor Details
-
SpmcAtomicUnpaddedArrayQueueProducerIndexCacheField
SpmcAtomicUnpaddedArrayQueueProducerIndexCacheField(int capacity)
-
-
Method Details
-
lvProducerIndexCache
protected final long lvProducerIndexCache() -
svProducerIndexCache
protected final void svProducerIndexCache(long newValue)
-