Class SingleConsumerQueue.Node<E>

    • Constructor Summary

      Constructors 
      Constructor Description
      Node​(@Nullable E value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void await()
      A no-op wait until the operation has completed.
      (package private) void complete()
      A no-op notification that the element was added to the queue.
      (package private) @Nullable SingleConsumerQueue.Node<E> getNextRelaxed()  
      (package private) boolean isDone()
      Always returns that the operation completed.
      (package private) void lazySetNext​(@Nullable SingleConsumerQueue.Node<E> newNext)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Node

        Node​(@Nullable E value)
    • Method Detail

      • complete

        void complete()
        A no-op notification that the element was added to the queue.
      • await

        void await()
        A no-op wait until the operation has completed.
      • isDone

        boolean isDone()
        Always returns that the operation completed.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object