abstract class MpscSequencedArrayQueueProducerField<E> extends MpscSequencedArrayQueueL1Pad<E>
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy
Modifier and Type | Field and Description |
---|---|
private static long |
P_INDEX_OFFSET |
private long |
producerIndex |
p10, p11, p12, p13, p14, p15, p16, p30, p31, p32, p33, p34, p35, p36, p37
SEQ_BUFFER_PAD, sequenceBuffer
buffer, mask
p01, p02, p03, p04, p05, p06, p07, p17
UNBOUNDED_CAPACITY
Constructor and Description |
---|
MpscSequencedArrayQueueProducerField(int capacity) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
casProducerIndex(long expect,
long newValue) |
protected long |
lvProducerIndex() |
calcSequenceOffset, calcSequenceOffset, lvSequence, soSequence
calcElementOffset, calcElementOffset, capacity, clear, iterator
contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
drain, drain, drain, fill, fill, fill, isEmpty, offer, peek, poll, relaxedOffer, relaxedPeek, relaxedPoll, size