Package rx.internal.util
Class IndexedRingBuffer.IndexSection
java.lang.Object
rx.internal.util.IndexedRingBuffer.IndexSection
- Enclosing class:
IndexedRingBuffer<E>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicReference
<IndexedRingBuffer.IndexSection> private final AtomicIntegerArray
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getAndSet
(int expected, int newValue) (package private) IndexedRingBuffer.IndexSection
getNext()
void
set
(int i, int elementIndex)
-
Field Details
-
unsafeArray
-
_next
-
-
Constructor Details
-
IndexSection
IndexSection()
-
-
Method Details
-
getAndSet
public int getAndSet(int expected, int newValue) -
set
public void set(int i, int elementIndex) -
getNext
IndexedRingBuffer.IndexSection getNext()
-