Class LinkedQueueAtomicNode<E>

  • All Implemented Interfaces:
    java.io.Serializable

    public final class LinkedQueueAtomicNode<E>
    extends java.util.concurrent.atomic.AtomicReference<LinkedQueueAtomicNode<E>>
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
      private E value  
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • value

        private E value
    • Constructor Detail

      • LinkedQueueAtomicNode

        LinkedQueueAtomicNode()
      • LinkedQueueAtomicNode

        LinkedQueueAtomicNode​(E val)
    • 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)