Top Fields Constructors Methods
org.terracotta.context

pack-priv Class RootNode

extends AbstractTreeNode
Class Inheritance
Imports
java.util.Collection, .Collections, .List, .Set, java.util.concurrent.CopyOnWriteArrayList

Field Summary

Modifier and TypeField and Description
private final Collection<ContextListener>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
public void
pack-priv Set<AbstractTreeNode>
public ContextElement
getContext()

Implements org.terracotta.context.TreeNode.getContext.

Returns the context information associated with this node.
pack-priv Collection<ContextListener>
public Collection<List<? extends TreeNode>>
getPaths()

Implements org.terracotta.context.TreeNode.getPaths.

Returns the complete set of rooting paths for this context element.
pack-priv void
public void
Inherited from org.terracotta.context.AbstractTreeNode:
addChildcleandumpSubtreegetChildrengetPathremoveChildtoTreeString

Field Detail

listenersback to summary
private final Collection<ContextListener> listeners

Constructor Detail

RootNodeback to summary
pack-priv RootNode()

Method Detail

addedParentback to summary
pack-priv void addedParent(AbstractTreeNode child)

Implements abstract org.terracotta.context.AbstractTreeNode.addedParent.

Annotations
@Override
addListenerback to summary
public void addListener(ContextListener listener)
getAncestorsback to summary
pack-priv Set<AbstractTreeNode> getAncestors()

Implements abstract org.terracotta.context.AbstractTreeNode.getAncestors.

Annotations
@Override
getContextback to summary
public ContextElement getContext()

Implements org.terracotta.context.TreeNode.getContext.

Doc from org.terracotta.context.TreeNode.getContext.

Returns the context information associated with this node.

Returns:ContextElement

node context information

Annotations
@Override
getListenersback to summary
pack-priv Collection<ContextListener> getListeners()

Implements abstract org.terracotta.context.AbstractTreeNode.getListeners.

Annotations
@Override
getPathsback to summary
public Collection<List<? extends TreeNode>> getPaths()

Implements org.terracotta.context.TreeNode.getPaths.

Doc from org.terracotta.context.TreeNode.getPaths.

Returns the complete set of rooting paths for this context element.

Returns:Collection<List<? extends TreeNode>>

the set of rooting paths

Annotations
@Override
removedParentback to summary
pack-priv void removedParent(AbstractTreeNode child)

Implements abstract org.terracotta.context.AbstractTreeNode.removedParent.

Annotations
@Override
removeListenerback to summary
public void removeListener(ContextListener listener)