Class MpmcArrayQueueConsumerIndexField<E>

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

abstract class MpmcArrayQueueConsumerIndexField<E> extends MpmcArrayQueueL2Pad<E>
  • Field Details

    • C_INDEX_OFFSET

      private static final long C_INDEX_OFFSET
    • consumerIndex

      private volatile long consumerIndex
  • Constructor Details

    • MpmcArrayQueueConsumerIndexField

      MpmcArrayQueueConsumerIndexField(int capacity)
  • Method Details

    • lvConsumerIndex

      public final long lvConsumerIndex()
    • casConsumerIndex

      final boolean casConsumerIndex(long expect, long newValue)