E - public class SpscChunkedArrayQueue<E> extends BaseSpscLinkedArrayQueue<E>
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy| Modifier and Type | Field and Description |
|---|---|
private int |
maxQueueCapacity |
private long |
producerQueueLimit |
producerBuffer, producerBufferLimit, producerMaskproducerIndexp0, p1, p10, p11, p12, p13, p14, p15, p16, p17, p2, p3, p4, p5, p6, p7consumerIndexconsumerBuffer, consumerMaskUNBOUNDED_CAPACITY| Constructor and Description |
|---|
SpscChunkedArrayQueue(int capacity) |
SpscChunkedArrayQueue(int chunkSize,
int capacity) |
| Modifier and Type | Method and Description |
|---|---|
int |
capacity() |
(package private) boolean |
offerColdPath(E[] buffer,
long mask,
long pIndex,
long offset,
E v,
MessagePassingQueue.Supplier<? extends E> s) |
currentConsumerIndex, currentProducerIndex, drain, drain, drain, fill, fill, fill, isEmpty, iterator, linkOldToNew, lvNextArrayAndUnlink, offer, peek, poll, relaxedOffer, relaxedPeek, relaxedPoll, size, soNext, toString, writeToQueuelvProducerIndex, soProducerIndexlvConsumerIndex, soConsumerIndexcontains, containsAll, remove, removeAll, retainAll, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclearprivate final int maxQueueCapacity
private long producerQueueLimit
public SpscChunkedArrayQueue(int capacity)
public SpscChunkedArrayQueue(int chunkSize,
int capacity)
final boolean offerColdPath(E[] buffer, long mask, long pIndex, long offset, E v, MessagePassingQueue.Supplier<? extends E> s)
offerColdPath in class BaseSpscLinkedArrayQueue<E>public int capacity()
MessagePassingQueue.UNBOUNDED_CAPACITY if not bounded