abstract class MpmcArrayQueueConsumerIndexField<E> extends MpmcArrayQueueL2Pad<E>
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy| Modifier and Type | Field and Description |
|---|---|
private static long |
C_INDEX_OFFSET |
private long |
consumerIndex |
p01, p02, p03, p04, p05, p06, p07, p10, p11, p12, p13, p14, p15, p16, p17p00SEQ_BUFFER_PAD, sequenceBufferbuffer, maskUNBOUNDED_CAPACITY| Constructor and Description |
|---|
MpmcArrayQueueConsumerIndexField(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
casConsumerIndex(long expect,
long newValue) |
long |
lvConsumerIndex() |
casProducerIndex, lvProducerIndexcalcSequenceOffset, calcSequenceOffset, lvSequence, soSequencecalcElementOffset, calcElementOffset, capacity, clear, currentConsumerIndex, currentProducerIndex, isEmpty, iterator, size, toStringcontains, containsAll, remove, removeAll, retainAll, toArray, toArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdrain, drain, drain, fill, fill, fill, offer, peek, poll, relaxedOffer, relaxedPeek, relaxedPoll