abstract class SpmcUnpaddedArrayQueueConsumerIndexField<E> extends SpmcUnpaddedArrayQueueL2Pad<E>
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy
Modifier and Type | Field and Description |
---|---|
protected static long |
C_INDEX_OFFSET |
private long |
consumerIndex |
P_INDEX_OFFSET
buffer, mask
UNBOUNDED_CAPACITY
Constructor and Description |
---|
SpmcUnpaddedArrayQueueConsumerIndexField(int capacity) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
casConsumerIndex(long expect,
long newValue) |
long |
lvConsumerIndex() |
lpProducerIndex, lvProducerIndex, soProducerIndex
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