Package org.jctools.queues.atomic
Class LinkedQueueAtomicNode<E>
- java.lang.Object
-
- java.util.concurrent.atomic.AtomicReference<LinkedQueueAtomicNode<E>>
-
- org.jctools.queues.atomic.LinkedQueueAtomicNode<E>
-
- All Implemented Interfaces:
Serializable
public final class LinkedQueueAtomicNode<E> extends AtomicReference<LinkedQueueAtomicNode<E>>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description E
getAndNullValue()
Gets the current value and nulls out the reference to it from this node.E
lpValue()
LinkedQueueAtomicNode<E>
lvNext()
void
soNext(LinkedQueueAtomicNode<E> n)
void
spNext(LinkedQueueAtomicNode<E> n)
void
spValue(E newValue)
-
Methods inherited from class java.util.concurrent.atomic.AtomicReference
accumulateAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, get, getAcquire, getAndAccumulate, getAndSet, getAndUpdate, getOpaque, getPlain, lazySet, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
-
-
-
-
Method Detail
-
getAndNullValue
public E getAndNullValue()
Gets the current value and nulls out the reference to it from this node.- Returns:
- value
-
lpValue
public E lpValue()
-
spValue
public void spValue(E newValue)
-
soNext
public void soNext(LinkedQueueAtomicNode<E> n)
-
spNext
public void spNext(LinkedQueueAtomicNode<E> n)
-
lvNext
public LinkedQueueAtomicNode<E> lvNext()
-
-