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 |
sequenceBufferbuffer, 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, svSequenceElementcalcOffset, calcOffset, lpElement, lpElement, lvElement, lvElement, soElement, soElement, spElement, spElement, svElement, svElementprotected static final long P_INDEX_OFFSET
protected MpscArrayConcurrentQueueColdFields.Consumer<E> consumer
private volatile long producerIndex
public ProducerFields(ConcurrentSequencedCircularArray<E> c)