Class MpscUnpaddedArrayQueueProducerLimitField<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
org.jctools.queues.unpadded.ConcurrentCircularUnpaddedArrayQueueL0Pad<E>
org.jctools.queues.unpadded.ConcurrentCircularUnpaddedArrayQueue<E>
org.jctools.queues.unpadded.MpscUnpaddedArrayQueueL1Pad<E>
org.jctools.queues.unpadded.MpscUnpaddedArrayQueueProducerIndexField<E>
org.jctools.queues.unpadded.MpscUnpaddedArrayQueueMidPad<E>
org.jctools.queues.unpadded.MpscUnpaddedArrayQueueProducerLimitField<E>
- All Implemented Interfaces:
Iterable<E>, Collection<E>, Queue<E>, IndexedQueueSizeUtil.IndexedQueue, MessagePassingQueue<E>, QueueProgressIndicators, SupportsIterator
- Direct Known Subclasses:
MpscUnpaddedArrayQueueL2Pad
NOTE: This class was automatically generated by org.jctools.queues.unpadded.JavaParsingUnpaddedQueueGenerator
which can found in the jctools-build module. The original source file is MpscArrayQueue.java.
-
Nested Class Summary
Nested classes/interfaces inherited from interface MessagePassingQueue
MessagePassingQueue.Consumer<T>, MessagePassingQueue.ExitCondition, MessagePassingQueue.Supplier<T>, MessagePassingQueue.WaitStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprivate longFields inherited from class ConcurrentCircularUnpaddedArrayQueue
buffer, maskFields inherited from interface MessagePassingQueue
UNBOUNDED_CAPACITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final long(package private) final voidsoProducerLimit(long newValue) Methods inherited from class MpscUnpaddedArrayQueueProducerIndexField
casProducerIndex, lvProducerIndexMethods inherited from class ConcurrentCircularUnpaddedArrayQueue
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
-
P_LIMIT_OFFSET
private static final long P_LIMIT_OFFSET -
producerLimit
private volatile long producerLimit
-
-
Constructor Details
-
MpscUnpaddedArrayQueueProducerLimitField
MpscUnpaddedArrayQueueProducerLimitField(int capacity)
-
-
Method Details
-
lvProducerLimit
final long lvProducerLimit() -
soProducerLimit
final void soProducerLimit(long newValue)
-