Class SpscArrayQueueConsumerIndexField<E>

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

abstract class SpscArrayQueueConsumerIndexField<E> extends SpscArrayQueueL2Pad<E>
  • Field Details

    • C_INDEX_OFFSET

      private static final long C_INDEX_OFFSET
    • consumerIndex

      private volatile long consumerIndex
  • Constructor Details

    • SpscArrayQueueConsumerIndexField

      SpscArrayQueueConsumerIndexField(int capacity)
  • Method Details

    • lvConsumerIndex

      public final long lvConsumerIndex()
    • lpConsumerIndex

      final long lpConsumerIndex()
    • soConsumerIndex

      final void soConsumerIndex(long newValue)