Class MpscBlockingConsumerVarHandleUnpaddedArrayQueueProducerFields<E>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
org.jctools.queues.varhandle.unpadded.MpscBlockingConsumerVarHandleUnpaddedArrayQueuePad1<E>
org.jctools.queues.varhandle.unpadded.MpscBlockingConsumerVarHandleUnpaddedArrayQueueColdProducerFields<E>
org.jctools.queues.varhandle.unpadded.MpscBlockingConsumerVarHandleUnpaddedArrayQueuePad2<E>
org.jctools.queues.varhandle.unpadded.MpscBlockingConsumerVarHandleUnpaddedArrayQueueProducerFields<E>
- All Implemented Interfaces:
Iterable<E>, Collection<E>, Queue<E>, IndexedQueueSizeUtil.IndexedQueue
- Direct Known Subclasses:
MpscBlockingConsumerVarHandleUnpaddedArrayQueuePad3
abstract class MpscBlockingConsumerVarHandleUnpaddedArrayQueueProducerFields<E>
extends MpscBlockingConsumerVarHandleUnpaddedArrayQueuePad2<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 MpscBlockingConsumerArrayQueue.java.
-
Field Summary
FieldsFields inherited from class MpscBlockingConsumerVarHandleUnpaddedArrayQueueColdProducerFields
producerBuffer, producerMask -
Constructor Summary
ConstructorsConstructorDescriptionMpscBlockingConsumerVarHandleUnpaddedArrayQueueProducerFields(long mask, E[] buffer) -
Method Summary
Modifier and TypeMethodDescription(package private) final booleancasProducerIndex(long expect, long newValue) final long(package private) final voidsoProducerIndex(long newValue) Methods inherited from class MpscBlockingConsumerVarHandleUnpaddedArrayQueueColdProducerFields
casProducerLimit, lvProducerLimit, soProducerLimitMethods inherited from class AbstractCollection
contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Collection
contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArrayMethods inherited from interface IndexedQueueSizeUtil.IndexedQueue
capacity, lvConsumerIndex
-
Field Details
-
VH_PRODUCER_INDEX
-
producerIndex
private volatile long producerIndex
-
-
Constructor Details
-
MpscBlockingConsumerVarHandleUnpaddedArrayQueueProducerFields
MpscBlockingConsumerVarHandleUnpaddedArrayQueueProducerFields(long mask, E[] buffer)
-
-
Method Details
-
lvProducerIndex
public final long lvProducerIndex() -
soProducerIndex
final void soProducerIndex(long newValue) -
casProducerIndex
final boolean casProducerIndex(long expect, long newValue)
-