Class SpscVarHandleUnpaddedArrayQueueProducerIndexFields<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.SpscVarHandleUnpaddedArrayQueueColdField<E>
org.jctools.queues.varhandle.unpadded.SpscVarHandleUnpaddedArrayQueueL1Pad<E>
org.jctools.queues.varhandle.unpadded.SpscVarHandleUnpaddedArrayQueueProducerIndexFields<E>
- All Implemented Interfaces:
Iterable<E>, Collection<E>, Queue<E>, IndexedQueueSizeUtil.IndexedQueue, MessagePassingQueue<E>, QueueProgressIndicators, SupportsIterator
- Direct Known Subclasses:
SpscVarHandleUnpaddedArrayQueueL2Pad
abstract class SpscVarHandleUnpaddedArrayQueueProducerIndexFields<E>
extends SpscVarHandleUnpaddedArrayQueueL1Pad<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 SpscArrayQueue.java.
-
Nested Class Summary
Nested classes/interfaces inherited from interface MessagePassingQueue
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy -
Field Summary
FieldsFields inherited from class SpscVarHandleUnpaddedArrayQueueColdField
lookAheadStepFields inherited from class ConcurrentCircularVarHandleUnpaddedArrayQueue
buffer, maskFields inherited from interface MessagePassingQueue
UNBOUNDED_CAPACITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final longfinal long(package private) final voidsoProducerIndex(long newValue) Methods inherited from class ConcurrentCircularVarHandleUnpaddedArrayQueue
capacity, clear, currentConsumerIndex, currentProducerIndex, isEmpty, iterator, size, toStringMethods inherited from class AbstractQueue
add, addAll, element, removeMethods inherited from class AbstractCollection
contains, containsAll, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Collection
contains, containsAll, equals, hashCode, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface IndexedQueueSizeUtil.IndexedQueue
lvConsumerIndexMethods inherited from interface MessagePassingQueue
drain, drain, drain, fill, fill, fill, offer, peek, poll, relaxedOffer, relaxedPeek, relaxedPoll
-
Field Details
-
VH_PRODUCER_INDEX
-
producerIndex
private long producerIndex -
producerLimit
protected long producerLimit
-
-
Constructor Details
-
SpscVarHandleUnpaddedArrayQueueProducerIndexFields
SpscVarHandleUnpaddedArrayQueueProducerIndexFields(int capacity)
-
-
Method Details
-
lvProducerIndex
public final long lvProducerIndex() -
lpProducerIndex
final long lpProducerIndex() -
soProducerIndex
final void soProducerIndex(long newValue)
-