Class IndexedRingBuffer.IndexSection

  • Enclosing class:
    IndexedRingBuffer<E>

    static class IndexedRingBuffer.IndexSection
    extends java.lang.Object
    • Field Detail

      • unsafeArray

        private final java.util.concurrent.atomic.AtomicIntegerArray unsafeArray
    • Constructor Detail

      • IndexSection

        IndexSection()
    • Method Detail

      • getAndSet

        public int getAndSet​(int expected,
                             int newValue)
      • set

        public void set​(int i,
                        int elementIndex)