Class Node

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected LockManager _lockManager
      LockManager for the node.
    • Constructor Summary

      Constructors 
      Constructor Description
      Node​(Node parent)
      A default constructor which will take parent and as LockManager instance as parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LockManager getLockManager()
      Returns the LockManager instance to which the Node may belong to.
      Node getParent()
      Obtains the parent for the current object.
      • Methods inherited from class java.lang.Object

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

      • _lockManager

        protected final LockManager _lockManager
        LockManager for the node. Has been set to final, b/c once it is set the locking at the node is controlled by the LockManager instance which is passed.
    • Constructor Detail

      • Node

        public Node​(Node parent)
        A default constructor which will take parent and as LockManager instance as parameters.
        Parameters:
        parent -
    • Method Detail

      • getParent

        public final Node getParent()
        Obtains the parent for the current object.
      • getLockManager

        public final LockManager getLockManager()
        Returns the LockManager instance to which the Node may belong to.