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 AtomicLongArrayallocate(int size) private static intcalcValueOffset(int index) protected static longgetAndIncrementValue(AtomicLongArray elements, int index) protected static longlvValue(AtomicLongArray elements, int index) protected static voidsoValue(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
-