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 TypeMethodDescriptionintgetAndSet(int expected, int newValue) (package private) IndexedRingBuffer.IndexSectiongetNext()voidset(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()
-