Class MpscBlockingConsumerVarHandleUnpaddedArrayQueueProducerFields<E>

All Implemented Interfaces:
Iterable<E>, Collection<E>, Queue<E>, IndexedQueueSizeUtil.IndexedQueue
Direct Known Subclasses:
MpscBlockingConsumerVarHandleUnpaddedArrayQueuePad3

abstract class MpscBlockingConsumerVarHandleUnpaddedArrayQueueProducerFields<E> extends MpscBlockingConsumerVarHandleUnpaddedArrayQueuePad2<E>
NOTE: This class was automatically generated by org.jctools.queues.varhandle.unpadded.JavaParsingVarHandleUnpaddedArrayQueueGenerator which can found in the jctools-build module. The original source file is MpscBlockingConsumerArrayQueue.java.
  • Field Details

    • VH_PRODUCER_INDEX

      private static final VarHandle VH_PRODUCER_INDEX
    • producerIndex

      private volatile long producerIndex
  • Constructor Details

    • MpscBlockingConsumerVarHandleUnpaddedArrayQueueProducerFields

      MpscBlockingConsumerVarHandleUnpaddedArrayQueueProducerFields(long mask, E[] buffer)
  • Method Details

    • lvProducerIndex

      public final long lvProducerIndex()
    • soProducerIndex

      final void soProducerIndex(long newValue)
    • casProducerIndex

      final boolean casProducerIndex(long expect, long newValue)