public class SpscUnboundedArrayQueue<E> extends BaseSpscLinkedArrayQueue<E>
JUMP
consumerIndex
consumerBuffer, consumerMask
p0, p1, p10, p11, p12, p13, p14, p15, p16, p17, p2, p3, p4, p5, p6, p7
producerIndex
maxQueueCapacity, producerBuffer, producerLimit, producerLookAheadStep, producerMask
Constructor and Description |
---|
SpscUnboundedArrayQueue(int chunkSize) |
Modifier and Type | Method and Description |
---|---|
private void |
linkNewBuffer(E[] oldBuffer,
long currIndex,
long offset,
E e,
long mask) |
protected boolean |
offerColdPath(E[] buffer,
long mask,
E e,
long index,
long offset) |
currentConsumerIndex, currentProducerIndex, iterator, lvConsumerIndex, lvNext, lvProducerIndex, offer, peek, poll, size, soConsumerIndex, soNext, soProducerIndex, writeToQueue
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected boolean offerColdPath(E[] buffer, long mask, E e, long index, long offset)
offerColdPath
in class BaseSpscLinkedArrayQueue<E>