public interface TreeNode extends Identifiable<YangInstanceIdentifier.PathArgument>, StoreTreeNode<TreeNode>
Semantic difference between these two is important when dealing with modifications involving parent/child relationships and what operations can be execute concurrently without creating a data dependency conflict.
A replace/delete operation cannot be applied to this node if the subtree version does not match. This mismatch still allows modifications to its descendants.
A mismatch in node version indicates a replacement, preventing a modification of descendants or itself.
Modifier and Type | Method and Description |
---|---|
NormalizedNode<?,?> |
getData()
Get a read-only view of the underlying data.
|
Version |
getSubtreeVersion()
Get the subtree version.
|
Version |
getVersion()
Get the data node version.
|
MutableTreeNode |
mutable()
Get a mutable, isolated copy of the node.
|
getIdentifier
getChild
Version getVersion()
Version getSubtreeVersion()
NormalizedNode<?,?> getData()
MutableTreeNode mutable()
Copyright © 2019 OpenDaylight. All rights reserved.