Package org.jctools.queues.atomic
Class MpscRelaxedAtomicArrayQueue.AtomicLongArrayAccess
- java.lang.Object
-
- org.jctools.queues.atomic.MpscRelaxedAtomicArrayQueue.AtomicLongArrayAccess
-
- Enclosing class:
- MpscRelaxedAtomicArrayQueue<E>
private static final class MpscRelaxedAtomicArrayQueue.AtomicLongArrayAccess extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static int
ARRAY_PAD
-
Constructor Summary
Constructors Modifier Constructor Description private
AtomicLongArrayAccess()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.util.concurrent.atomic.AtomicLongArray
allocate(int size)
private static int
calcValueOffset(int index)
protected static long
getAndIncrementValue(java.util.concurrent.atomic.AtomicLongArray elements, int index)
protected static long
lvValue(java.util.concurrent.atomic.AtomicLongArray elements, int index)
protected static void
soValue(java.util.concurrent.atomic.AtomicLongArray elements, int index, long value)
-
-
-
Method Detail
-
allocate
private static java.util.concurrent.atomic.AtomicLongArray allocate(int size)
-
calcValueOffset
private static int calcValueOffset(int index)
-
lvValue
protected static long lvValue(java.util.concurrent.atomic.AtomicLongArray elements, int index)
-
soValue
protected static void soValue(java.util.concurrent.atomic.AtomicLongArray elements, int index, long value)
-
getAndIncrementValue
protected static long getAndIncrementValue(java.util.concurrent.atomic.AtomicLongArray elements, int index)
-
-