Class SingleConsumerQueue.Node<E>

java.lang.Object
com.github.benmanes.caffeine.SingleConsumerQueue.Node<E>
Direct Known Subclasses:
SingleConsumerQueue.LinearizableNode
Enclosing class:
SingleConsumerQueue<E>

static class SingleConsumerQueue.Node<E> extends Object
  • Field Details

  • Constructor Details

    • Node

      Node(@Nullable E value)
  • Method Details

    • getNextRelaxed

      @Nullable SingleConsumerQueue.Node<E> getNextRelaxed()
    • lazySetNext

      void lazySetNext(@Nullable SingleConsumerQueue.Node<E> newNext)
    • 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 String toString()
      Overrides:
      toString in class Object