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