Class MpscBlockingConsumerVarHandleUnpaddedArrayQueueColdProducerFields<E>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean casProducerLimit​(long expect, long newValue)  
      (package private) long lvProducerLimit()  
      (package private) void soProducerLimit​(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

      • VH_PRODUCER_LIMIT

        private static final java.lang.invoke.VarHandle VH_PRODUCER_LIMIT
      • producerLimit

        private volatile long producerLimit
      • producerMask

        protected final long producerMask
      • producerBuffer

        protected final E[] producerBuffer
    • Constructor Detail

      • MpscBlockingConsumerVarHandleUnpaddedArrayQueueColdProducerFields

        MpscBlockingConsumerVarHandleUnpaddedArrayQueueColdProducerFields​(long producerMask,
                                                                          E[] producerBuffer)
    • Method Detail

      • lvProducerLimit

        final long lvProducerLimit()
      • casProducerLimit

        final boolean casProducerLimit​(long expect,
                                       long newValue)
      • soProducerLimit

        final void soProducerLimit​(long newValue)