Class MpmcUnpaddedArrayQueueConsumerIndexField<E>

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

abstract class MpmcUnpaddedArrayQueueConsumerIndexField<E> extends MpmcUnpaddedArrayQueueL2Pad<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

    • C_INDEX_OFFSET

      private static final long C_INDEX_OFFSET
    • consumerIndex

      private volatile long consumerIndex
  • Constructor Details

    • MpmcUnpaddedArrayQueueConsumerIndexField

      MpmcUnpaddedArrayQueueConsumerIndexField(int capacity)
  • Method Details

    • lvConsumerIndex

      public final long lvConsumerIndex()
    • casConsumerIndex

      final boolean casConsumerIndex(long expect, long newValue)