Class MpmcVarHandleArrayQueueConsumerIndexField<E>

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

abstract class MpmcVarHandleArrayQueueConsumerIndexField<E> extends MpmcVarHandleArrayQueueL2Pad<E>
NOTE: This class was automatically generated by org.jctools.queues.varhandle.JavaParsingVarHandleArrayQueueGenerator which can found in the jctools-build module. The original source file is MpmcArrayQueue.java.
  • Field Details

    • VH_CONSUMER_INDEX

      private static final VarHandle VH_CONSUMER_INDEX
    • consumerIndex

      private volatile long consumerIndex
  • Constructor Details

    • MpmcVarHandleArrayQueueConsumerIndexField

      MpmcVarHandleArrayQueueConsumerIndexField(int capacity)
  • Method Details

    • lvConsumerIndex

      public final long lvConsumerIndex()
    • casConsumerIndex

      final boolean casConsumerIndex(long expect, long newValue)