Class MpmcUnpaddedArrayQueueProducerIndexField<E>

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

abstract class MpmcUnpaddedArrayQueueProducerIndexField<E> extends MpmcUnpaddedArrayQueueL1Pad<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 MpmcArrayQueue.java.
  • Field Details

    • P_INDEX_OFFSET

      private static final long P_INDEX_OFFSET
    • producerIndex

      private volatile long producerIndex
  • Constructor Details

    • MpmcUnpaddedArrayQueueProducerIndexField

      MpmcUnpaddedArrayQueueProducerIndexField(int capacity)
  • Method Details

    • lvProducerIndex

      public final long lvProducerIndex()
    • casProducerIndex

      final boolean casProducerIndex(long expect, long newValue)