Package rx.internal.util
Class IndexedRingBuffer.IndexSection
- java.lang.Object
-
- rx.internal.util.IndexedRingBuffer.IndexSection
-
- Enclosing class:
- IndexedRingBuffer<E>
static class IndexedRingBuffer.IndexSection extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.atomic.AtomicReference<IndexedRingBuffer.IndexSection>
_next
private java.util.concurrent.atomic.AtomicIntegerArray
unsafeArray
-
Constructor Summary
Constructors Constructor Description IndexSection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAndSet(int expected, int newValue)
(package private) IndexedRingBuffer.IndexSection
getNext()
void
set(int i, int elementIndex)
-
-
-
Field Detail
-
unsafeArray
private final java.util.concurrent.atomic.AtomicIntegerArray unsafeArray
-
_next
private final java.util.concurrent.atomic.AtomicReference<IndexedRingBuffer.IndexSection> _next
-
-
Method Detail
-
getAndSet
public int getAndSet(int expected, int newValue)
-
set
public void set(int i, int elementIndex)
-
getNext
IndexedRingBuffer.IndexSection getNext()
-
-