Package org.jctools.queues.unpadded
Class BaseMpscLinkedUnpaddedArrayQueueColdProducerFields<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueuePad1<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueProducerFields<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueuePad2<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueConsumerFields<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueuePad3<E>
org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueColdProducerFields<E>
- All Implemented Interfaces:
Iterable<E>,Collection<E>,Queue<E>,IndexedQueueSizeUtil.IndexedQueue
- Direct Known Subclasses:
BaseMpscLinkedUnpaddedArrayQueue
abstract class BaseMpscLinkedUnpaddedArrayQueueColdProducerFields<E>
extends BaseMpscLinkedUnpaddedArrayQueuePad3<E>
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 BaseMpscLinkedArrayQueue.java.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longprotected E[]private longprotected longFields inherited from class org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueConsumerFields
consumerBuffer, consumerMask -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) final booleancasProducerLimit(long expect, long newValue) (package private) final long(package private) final voidsoProducerLimit(long newValue) Methods inherited from class org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueConsumerFields
lpConsumerIndex, lvConsumerIndex, soConsumerIndexMethods inherited from class org.jctools.queues.unpadded.BaseMpscLinkedUnpaddedArrayQueueProducerFields
casProducerIndex, lvProducerIndex, soProducerIndexMethods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods 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, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface org.jctools.queues.IndexedQueueSizeUtil.IndexedQueue
capacity
-
Field Details
-
P_LIMIT_OFFSET
private static final long P_LIMIT_OFFSET -
producerLimit
private volatile long producerLimit -
producerMask
protected long producerMask -
producerBuffer
-
-
Constructor Details
-
BaseMpscLinkedUnpaddedArrayQueueColdProducerFields
BaseMpscLinkedUnpaddedArrayQueueColdProducerFields()
-
-
Method Details
-
lvProducerLimit
final long lvProducerLimit() -
casProducerLimit
final boolean casProducerLimit(long expect, long newValue) -
soProducerLimit
final void soProducerLimit(long newValue)
-