Class SpscUnboundedAtomicArrayQueue<E>

  • Type Parameters:
    E -
    All Implemented Interfaces:
    java.lang.Iterable<E>, java.util.Collection<E>, java.util.Queue<E>, IndexedQueueSizeUtil.IndexedQueue, MessagePassingQueue<E>, QueueProgressIndicators

    public class SpscUnboundedAtomicArrayQueue<E>
    extends BaseSpscLinkedAtomicArrayQueue<E>
    NOTE: This class was automatically generated by org.jctools.queues.atomic.JavaParsingAtomicLinkedQueueGenerator which can found in the jctools-build module. The original source file is SpscUnboundedArrayQueue.java. An SPSC array queue which starts at initialCapacity and grows indefinitely in linked chunks of the initial size. The queue grows only when the current chunk is full and elements are not copied on resize, instead a link to the new chunk is stored in the old chunk for the consumer to follow.
    • Constructor Detail

      • SpscUnboundedAtomicArrayQueue

        public SpscUnboundedAtomicArrayQueue​(int chunkSize)