Class MpscAtomicUnpaddedArrayQueueProducerLimitField<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractQueue<E>
-
- org.jctools.queues.atomic.AtomicReferenceArrayQueue<E>
-
- org.jctools.queues.atomic.unpadded.MpscAtomicUnpaddedArrayQueueL1Pad<E>
-
- org.jctools.queues.atomic.unpadded.MpscAtomicUnpaddedArrayQueueProducerIndexField<E>
-
- org.jctools.queues.atomic.unpadded.MpscAtomicUnpaddedArrayQueueMidPad<E>
-
- org.jctools.queues.atomic.unpadded.MpscAtomicUnpaddedArrayQueueProducerLimitField<E>
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.Queue<E>
,IndexedQueueSizeUtil.IndexedQueue
,MessagePassingQueue<E>
,QueueProgressIndicators
,SupportsIterator
- Direct Known Subclasses:
MpscAtomicUnpaddedArrayQueueL2Pad
abstract class MpscAtomicUnpaddedArrayQueueProducerLimitField<E> extends MpscAtomicUnpaddedArrayQueueMidPad<E>
NOTE: This class was automatically generated by org.jctools.queues.atomic.unpadded.JavaParsingAtomicUnpaddedArrayQueueGenerator 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
Fields Modifier and Type Field Description private static java.util.concurrent.atomic.AtomicLongFieldUpdater<MpscAtomicUnpaddedArrayQueueProducerLimitField>
P_LIMIT_UPDATER
private long
producerLimit
-
Fields inherited from class org.jctools.queues.atomic.AtomicReferenceArrayQueue
buffer, mask
-
Fields inherited from interface org.jctools.queues.MessagePassingQueue
UNBOUNDED_CAPACITY
-
-
Constructor Summary
Constructors Constructor Description MpscAtomicUnpaddedArrayQueueProducerLimitField(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) long
lvProducerLimit()
(package private) void
soProducerLimit(long newValue)
-
Methods inherited from class org.jctools.queues.atomic.unpadded.MpscAtomicUnpaddedArrayQueueProducerIndexField
casProducerIndex, lvProducerIndex
-
Methods inherited from class org.jctools.queues.atomic.AtomicReferenceArrayQueue
capacity, clear, currentConsumerIndex, currentProducerIndex, isEmpty, iterator, size, toString
-
Methods inherited from class java.util.AbstractCollection
contains, containsAll, remove, removeAll, retainAll, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
contains, containsAll, equals, hashCode, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArray, toArray
-
Methods inherited from interface org.jctools.queues.IndexedQueueSizeUtil.IndexedQueue
lvConsumerIndex
-
Methods inherited from interface org.jctools.queues.MessagePassingQueue
drain, drain, drain, fill, fill, fill, offer, peek, poll, relaxedOffer, relaxedPeek, relaxedPoll
-
-
-
-
Field Detail
-
P_LIMIT_UPDATER
private static final java.util.concurrent.atomic.AtomicLongFieldUpdater<MpscAtomicUnpaddedArrayQueueProducerLimitField> P_LIMIT_UPDATER
-
producerLimit
private volatile long producerLimit
-
-