Class NodeInfo


  • public final class NodeInfo
    extends Object
    Holds structural information about a node. Used by the consistency checker and garbage collector.
    • Constructor Detail

      • NodeInfo

        public NodeInfo​(NodePropBundle bundle)
        Create a new NodeInfo object from a bundle
        Parameters:
        bundle - the node bundle
    • Method Detail

      • getId

        public NodeId getId()
        Returns:
        the node id of this node
      • getParentId

        public NodeId getParentId()
        Returns:
        the parent id of this node
      • getChildren

        public List<NodeId> getChildren()
        Returns:
        the child ids of this node
      • getReferences

        public Map<Name,​List<NodeId>> getReferences()
        Returns:
        the reference properties along with their node id values of this node
      • isReferenceable

        public boolean isReferenceable()
        Returns:
        whether the node represented by this node info is referenceable
      • hasBlobsInDataStore

        public boolean hasBlobsInDataStore()
        Returns:
        whether the node has blob properties that are inside the data storage
      • clearPool

        public static void clearPool()
        Clear the NodeId pool.