public abstract class SequencedAtomicReferenceArrayQueue<E> extends AtomicReferenceArrayQueue<E>
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy| Modifier and Type | Field and Description |
|---|---|
protected AtomicLongArray |
sequenceBuffer |
buffer, maskUNBOUNDED_CAPACITY| Constructor and Description |
|---|
SequencedAtomicReferenceArrayQueue(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
calcSequenceOffset(long index) |
protected static int |
calcSequenceOffset(long index,
int mask) |
protected long |
lvSequence(AtomicLongArray buffer,
int offset) |
protected void |
soSequence(AtomicLongArray buffer,
int offset,
long e) |
capacity, clear, currentConsumerIndex, currentProducerIndex, isEmpty, iterator, size, toStringadd, addAll, element, removecontains, containsAll, remove, removeAll, retainAll, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitlvConsumerIndex, lvProducerIndexdrain, drain, drain, fill, fill, fill, offer, peek, poll, relaxedOffer, relaxedPeek, relaxedPollcontains, containsAll, equals, hashCode, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArrayprotected final AtomicLongArray sequenceBuffer
public SequencedAtomicReferenceArrayQueue(int capacity)
protected final long calcSequenceOffset(long index)
protected static int calcSequenceOffset(long index,
int mask)
protected final void soSequence(AtomicLongArray buffer, int offset, long e)
protected final long lvSequence(AtomicLongArray buffer, int offset)
Copyright © 2013–2024. All rights reserved.