Class SpscUnpaddedArrayQueueProducerIndexFields<E>

All Implemented Interfaces:
Iterable<E>, Collection<E>, Queue<E>, IndexedQueueSizeUtil.IndexedQueue, MessagePassingQueue<E>, QueueProgressIndicators, SupportsIterator
Direct Known Subclasses:
SpscUnpaddedArrayQueueL2Pad

abstract class SpscUnpaddedArrayQueueProducerIndexFields<E> extends SpscUnpaddedArrayQueueL1Pad<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 SpscArrayQueue.java.
  • Field Details

    • P_INDEX_OFFSET

      private static final long P_INDEX_OFFSET
    • producerIndex

      private volatile long producerIndex
    • producerLimit

      protected long producerLimit
  • Constructor Details

    • SpscUnpaddedArrayQueueProducerIndexFields

      SpscUnpaddedArrayQueueProducerIndexFields(int capacity)
  • Method Details

    • lvProducerIndex

      public final long lvProducerIndex()
    • lpProducerIndex

      final long lpProducerIndex()
    • soProducerIndex

      final void soProducerIndex(long newValue)