Class MpscVarHandleUnpaddedArrayQueueConsumerIndexField<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
org.jctools.queues.varhandle.unpadded.ConcurrentCircularVarHandleUnpaddedArrayQueueL0Pad<E>
org.jctools.queues.varhandle.unpadded.ConcurrentCircularVarHandleUnpaddedArrayQueue<E>
org.jctools.queues.varhandle.unpadded.MpscVarHandleUnpaddedArrayQueueL1Pad<E>
org.jctools.queues.varhandle.unpadded.MpscVarHandleUnpaddedArrayQueueProducerIndexField<E>
org.jctools.queues.varhandle.unpadded.MpscVarHandleUnpaddedArrayQueueMidPad<E>
org.jctools.queues.varhandle.unpadded.MpscVarHandleUnpaddedArrayQueueProducerLimitField<E>
org.jctools.queues.varhandle.unpadded.MpscVarHandleUnpaddedArrayQueueL2Pad<E>
org.jctools.queues.varhandle.unpadded.MpscVarHandleUnpaddedArrayQueueConsumerIndexField<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Queue<E>,IndexedQueueSizeUtil.IndexedQueue,MessagePassingQueue<E>,QueueProgressIndicators,SupportsIterator
- Direct Known Subclasses:
MpscVarHandleUnpaddedArrayQueueL3Pad
abstract class MpscVarHandleUnpaddedArrayQueueConsumerIndexField<E>
extends MpscVarHandleUnpaddedArrayQueueL2Pad<E>
NOTE: This class was automatically generated by org.jctools.queues.varhandle.unpadded.JavaParsingVarHandleUnpaddedArrayQueueGenerator
which can found in the jctools-build module. The original source file is MpscArrayQueue.java.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jctools.queues.MessagePassingQueue
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy -
Field Summary
FieldsFields inherited from class org.jctools.queues.varhandle.unpadded.ConcurrentCircularVarHandleUnpaddedArrayQueue
buffer, maskFields inherited from interface org.jctools.queues.MessagePassingQueue
UNBOUNDED_CAPACITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final longfinal long(package private) final voidsoConsumerIndex(long newValue) Methods inherited from class org.jctools.queues.varhandle.unpadded.MpscVarHandleUnpaddedArrayQueueProducerLimitField
lvProducerLimit, soProducerLimitMethods inherited from class org.jctools.queues.varhandle.unpadded.MpscVarHandleUnpaddedArrayQueueProducerIndexField
casProducerIndex, lvProducerIndexMethods inherited from class org.jctools.queues.varhandle.unpadded.ConcurrentCircularVarHandleUnpaddedArrayQueue
capacity, clear, currentConsumerIndex, currentProducerIndex, isEmpty, iterator, size, toStringMethods inherited from class java.util.AbstractQueue
add, addAll, element, removeMethods inherited from class java.util.AbstractCollection
contains, containsAll, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
contains, containsAll, equals, hashCode, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface org.jctools.queues.MessagePassingQueue
drain, drain, drain, fill, fill, fill, offer, peek, poll, relaxedOffer, relaxedPeek, relaxedPoll
-
Field Details
-
VH_CONSUMER_INDEX
-
consumerIndex
private long consumerIndex
-
-
Constructor Details
-
MpscVarHandleUnpaddedArrayQueueConsumerIndexField
MpscVarHandleUnpaddedArrayQueueConsumerIndexField(int capacity)
-
-
Method Details
-
lvConsumerIndex
public final long lvConsumerIndex() -
lpConsumerIndex
final long lpConsumerIndex() -
soConsumerIndex
final void soConsumerIndex(long newValue)
-