abstract class MpscArrayQueueConsumerField<E> extends MpscArrayQueueL2Pad<E>
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy
Modifier and Type | Field and Description |
---|---|
private static long |
C_INDEX_OFFSET |
protected long |
consumerIndex |
p00, p01, p02, p03, p04, p05, p06, p07, p10, p11, p12, p13, p14, p15, p16
p17
buffer, mask
UNBOUNDED_CAPACITY
Constructor and Description |
---|
MpscArrayQueueConsumerField(int capacity) |
Modifier and Type | Method and Description |
---|---|
protected long |
lpConsumerIndex() |
long |
lvConsumerIndex() |
protected void |
soConsumerIndex(long l) |
lvProducerLimit, soProducerLimit
casProducerIndex, lvProducerIndex
calcElementOffset, calcElementOffset, capacity, clear, currentConsumerIndex, currentProducerIndex, isEmpty, iterator, size, toString
contains, containsAll, remove, removeAll, retainAll, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
drain, drain, drain, fill, fill, fill, offer, peek, poll, relaxedOffer, relaxedPeek, relaxedPoll