Class SpmcUnpaddedArrayQueueConsumerIndexField<E>

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

abstract class SpmcUnpaddedArrayQueueConsumerIndexField<E> extends SpmcUnpaddedArrayQueueL2Pad<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 SpmcArrayQueue.java.
  • Field Details

    • C_INDEX_OFFSET

      protected static final long C_INDEX_OFFSET
    • consumerIndex

      private volatile long consumerIndex
  • Constructor Details

    • SpmcUnpaddedArrayQueueConsumerIndexField

      SpmcUnpaddedArrayQueueConsumerIndexField(int capacity)
  • Method Details

    • lvConsumerIndex

      public final long lvConsumerIndex()
    • casConsumerIndex

      final boolean casConsumerIndex(long expect, long newValue)