private abstract static class MpscArrayConcurrentQueueColdFields.ProducerFields<E> extends ConcurrentSequencedCircularArray<E>
Modifier and Type | Field and Description |
---|---|
protected MpscArrayConcurrentQueueColdFields.Consumer<E> |
consumer |
protected static long |
P_INDEX_OFFSET |
private long |
producerIndex |
sequenceBuffer
buffer, BUFFER_PAD, mask, SPARSE_SHIFT
Constructor and Description |
---|
ProducerFields(ConcurrentSequencedCircularArray<E> c) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
casProducerIndex(long expect,
long newValue) |
protected long |
lvProducerIndex() |
calcSequenceOffset, calcSequenceOffset, lpSequence, lpSequenceElement, lvSequence, lvSequence, soSequence, soSequenceElement, spSequenceElement, spSequenceElement, svSequenceElement, svSequenceElement
calcOffset, calcOffset, lpElement, lpElement, lvElement, lvElement, soElement, soElement, spElement, spElement, svElement, svElement
protected static final long P_INDEX_OFFSET
protected MpscArrayConcurrentQueueColdFields.Consumer<E> consumer
private volatile long producerIndex
public ProducerFields(ConcurrentSequencedCircularArray<E> c)