Package rx.internal.util.unsafe
Class SpmcArrayQueueProducerField<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractQueue<E>
-
- rx.internal.util.unsafe.ConcurrentCircularArrayQueueL0Pad<E>
-
- rx.internal.util.unsafe.ConcurrentCircularArrayQueue<E>
-
- rx.internal.util.unsafe.SpmcArrayQueueL1Pad<E>
-
- rx.internal.util.unsafe.SpmcArrayQueueProducerField<E>
-
- All Implemented Interfaces:
java.lang.Iterable<E>
,java.util.Collection<E>
,java.util.Queue<E>
,MessagePassingQueue<E>
- Direct Known Subclasses:
SpmcArrayQueueL2Pad
@SuppressAnimalSniffer abstract class SpmcArrayQueueProducerField<E> extends SpmcArrayQueueL1Pad<E>
-
-
Field Summary
Fields Modifier and Type Field Description protected static long
P_INDEX_OFFSET
private long
producerIndex
-
Fields inherited from class rx.internal.util.unsafe.SpmcArrayQueueL1Pad
p10, p11, p12, p13, p14, p15, p16, p30, p31, p32, p33, p34, p35, p36, p37
-
Fields inherited from class rx.internal.util.unsafe.ConcurrentCircularArrayQueue
buffer, BUFFER_PAD, mask, SPARSE_SHIFT
-
-
Constructor Summary
Constructors Constructor Description SpmcArrayQueueProducerField(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected long
lvProducerIndex()
protected void
soTail(long v)
-
Methods inherited from class rx.internal.util.unsafe.ConcurrentCircularArrayQueue
calcElementOffset, calcElementOffset, clear, iterator, lpElement, lpElement, lvElement, lvElement, soElement, soElement, spElement, spElement
-
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
-
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, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
-
-