public class SpscGrowableArrayQueue<E> extends BaseSpscLinkedArrayQueue<E>
| Modifier and Type | Field and Description |
|---|---|
private long |
lookAheadStep |
private int |
maxQueueCapacity |
JUMPproducerBuffer, producerBufferLimit, producerMaskproducerIndexp0, p1, p10, p11, p12, p13, p14, p15, p16, p17, p2, p3, p4, p5, p6, p7consumerIndexconsumerBuffer, consumerMask| Constructor and Description |
|---|
SpscGrowableArrayQueue(int capacity) |
SpscGrowableArrayQueue(int chunkSize,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
private void |
adjustLookAheadStep(int capacity) |
protected boolean |
offerColdPath(E[] buffer,
long mask,
E e,
long index,
long offset) |
currentConsumerIndex, currentProducerIndex, isEmpty, iterator, linkOldToNew, lvConsumerIndex, lvNextArrayAndUnlink, lvProducerIndex, offer, peek, poll, size, soConsumerIndex, soNext, soProducerIndex, toString, writeToQueuecontains, containsAll, remove, removeAll, retainAll, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic SpscGrowableArrayQueue(int capacity)
public SpscGrowableArrayQueue(int chunkSize,
int capacity)
protected final boolean offerColdPath(E[] buffer, long mask, E e, long index, long offset)
offerColdPath in class BaseSpscLinkedArrayQueue<E>private void adjustLookAheadStep(int capacity)