Class BaseMpscLinkedUnpaddedArrayQueueProducerFields<E>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean casProducerIndex​(long expect, long newValue)  
      long lvProducerIndex()  
      (package private) void soProducerIndex​(long newValue)  
      • Methods inherited from class java.util.AbstractQueue

        add, addAll, clear, element, remove
      • Methods inherited from class java.util.AbstractCollection

        contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.Queue

        offer, peek, poll
    • Field Detail

      • P_INDEX_OFFSET

        private static final long P_INDEX_OFFSET
      • producerIndex

        private volatile long producerIndex
    • Constructor Detail

      • BaseMpscLinkedUnpaddedArrayQueueProducerFields

        BaseMpscLinkedUnpaddedArrayQueueProducerFields()
    • Method Detail

      • lvProducerIndex

        public final long lvProducerIndex()
      • soProducerIndex

        final void soProducerIndex​(long newValue)
      • casProducerIndex

        final boolean casProducerIndex​(long expect,
                                       long newValue)