Interface ReadOnlyDataTree
- All Known Subinterfaces:
DataTree
- All Known Implementing Classes:
InMemoryDataTree
A read-only view of a
DataTree
. This provides access to MVCC access methods, but unlike DataTree
,
it does not expose methods to affect internal state.- Author:
- Robert Varga
-
Method Summary
Modifier and TypeMethodDescriptionGet the root path of this data tree.Take a read-only point-in-time snapshot of the tree.
-
Method Details
-
getRootPath
YangInstanceIdentifier getRootPath()Get the root path of this data tree.- Returns:
- The tree's root path.
-
takeSnapshot
DataTreeSnapshot takeSnapshot()Take a read-only point-in-time snapshot of the tree.- Returns:
- Data tree snapshot.
-