IndexedQueueSizeUtil.IndexedQueue, MessagePassingQueue<E>, QueueProgressIndicatorsMpmcArrayQueuepublic abstract class ConcurrentSequencedCircularArrayQueue<E> extends ConcurrentCircularArrayQueue<E>
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy| Modifier and Type | Field | Description |
|---|---|---|
protected static int |
SEQ_BUFFER_PAD |
|
protected long[] |
sequenceBuffer |
buffer, maskUNBOUNDED_CAPACITY| Constructor | Description |
|---|---|
ConcurrentSequencedCircularArrayQueue(int capacity) |
| Modifier and Type | Method | Description |
|---|---|---|
protected long |
calcSequenceOffset(long index) |
|
protected static long |
calcSequenceOffset(long index,
long mask) |
|
protected long |
lvSequence(long[] buffer,
long offset) |
|
protected void |
soSequence(long[] buffer,
long offset,
long e) |
contains, containsAll, remove, removeAll, retainAll, toArray, toArraycontains, containsAll, equals, hashCode, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArraycalcElementOffset, calcElementOffset, capacity, clear, currentConsumerIndex, currentProducerIndex, isEmpty, iterator, size, toStringlvConsumerIndex, lvProducerIndexdrain, drain, drain, fill, fill, fill, offer, peek, poll, relaxedOffer, relaxedPeek, relaxedPollprotected static final int SEQ_BUFFER_PAD
protected final long[] sequenceBuffer
public ConcurrentSequencedCircularArrayQueue(int capacity)
protected final long calcSequenceOffset(long index)
protected static long calcSequenceOffset(long index,
long mask)
protected final void soSequence(long[] buffer,
long offset,
long e)
protected final long lvSequence(long[] buffer,
long offset)
Copyright © 2013–2017. All rights reserved.