Class NodeImpl

java.lang.Object
java.util.concurrent.atomic.AtomicReference<Node>
org.jctools.queues.intrusive.NodeImpl
All Implemented Interfaces:
Serializable, Node

public class NodeImpl extends AtomicReference<Node> implements Node
See Also:
  • Constructor Details

    • NodeImpl

      public NodeImpl()
  • Method Details

    • setNext

      public void setNext(Node next)
      Description copied from interface: Node
      Stores a pointer to the next node in the linked queue structure. This corresponds to mpscq_node_t.next in the 1024cores post Intrusive MPSC node-based queue. Note the volatile semantics of the stores in the algorithm.
      Specified by:
      setNext in interface Node
    • getNext

      public Node getNext()
      Specified by:
      getNext in interface Node