Package org.terracotta.context
Class MutableTreeNode
java.lang.Object
org.terracotta.context.AbstractTreeNode
org.terracotta.context.MutableTreeNode
- All Implemented Interfaces:
TreeNode,WeakIdentityHashMap.Cleanable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ContextElementprivate final CopyOnWriteArraySet<AbstractTreeNode> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddedParent(AbstractTreeNode parent) (package private) Set<AbstractTreeNode>Returns the context information associated with this node.Collection<List<? extends TreeNode>>getPaths()Returns the complete set of rooting paths for this context element.(package private) voidremovedParent(AbstractTreeNode parent) toString()Methods inherited from class org.terracotta.context.AbstractTreeNode
addChild, clean, dumpSubtree, getChildren, getPath, removeChild, toTreeString
-
Field Details
-
parents
-
context
-
-
Constructor Details
-
MutableTreeNode
-
-
Method Details
-
getContext
Description copied from interface:TreeNodeReturns the context information associated with this node.- Returns:
- node context information
-
toString
-
getAncestors
Set<AbstractTreeNode> getAncestors()- Specified by:
getAncestorsin classAbstractTreeNode
-
getListeners
- Specified by:
getListenersin classAbstractTreeNode
-
addedParent
- Specified by:
addedParentin classAbstractTreeNode
-
removedParent
- Specified by:
removedParentin classAbstractTreeNode
-
getPaths
Description copied from interface:TreeNodeReturns the complete set of rooting paths for this context element.- Returns:
- the set of rooting paths
-